PERFORCE change 99248 for review

Paolo Pisati piso at FreeBSD.org
Wed Jun 14 18:47:09 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=99248

Change 99248 by piso at piso_newluxor on 2006/06/14 18:46:37

	Fixed compilation of cy

Affected files ...

.. //depot/projects/soc2006/intr_filter/dev/cy/cy.c#3 edit
.. //depot/projects/soc2006/intr_filter/dev/cy/cy_pci.c#3 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/dev/cy/cy.c#3 (text+ko) ====

@@ -644,7 +644,7 @@
 			  com->mcr_image |= com->mcr_rts);
 }
 
-intr
+int
 cyintr(void *vcom)
 {
 	struct com_s	*basecom;

==== //depot/projects/soc2006/intr_filter/dev/cy/cy_pci.c#3 (text+ko) ====

@@ -153,7 +153,7 @@
 #endif
 	if (irq_setup != 0)
 		irq_setup = bus_setup_intr(dev, irq_res, INTR_TYPE_TTY,
-		    cyintr, vsc, &irq_cookie);
+		    (driver_intr_t *)cyintr, vsc, &irq_cookie);
 	if (irq_setup != 0) {
 		device_printf(dev, "interrupt setup failed\n");
 		goto fail;


More information about the p4-projects mailing list