PERFORCE change 100048 for review

Paolo Pisati piso at FreeBSD.org
Mon Jun 26 12:03:06 UTC 2006


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

Change 100048 by piso at piso_newluxor on 2006/06/26 11:34:21

	Add a filter parameter (even if unused) to scc_bus_setup_intr().

Affected files ...

.. //depot/projects/soc2006/intr_filter/dev/scc/scc_bfe.h#2 edit
.. //depot/projects/soc2006/intr_filter/dev/scc/scc_core.c#4 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/dev/scc/scc_bfe.h#2 (text) ====

@@ -146,7 +146,7 @@
 int scc_bus_read_ivar(device_t, device_t, int, uintptr_t *);
 int scc_bus_release_resource(device_t, device_t, int, int, struct resource *);
 int scc_bus_setup_intr(device_t, device_t, struct resource *, int,
-    void (*)(void *), void *, void **);
+    driver_filter_t *, void (*)(void *), void *, void **);
 int scc_bus_teardown_intr(device_t, device_t, struct resource *, void *);
 
 #endif /* _DEV_SCC_BFE_H_ */

==== //depot/projects/soc2006/intr_filter/dev/scc/scc_core.c#4 (text) ====

@@ -498,7 +498,8 @@
 
 int
 scc_bus_setup_intr(device_t dev, device_t child, struct resource *r, int flags,
-    void (*ihand)(void *), void *arg, void **cookiep)
+    driver_filter_t *filter __unused, void (*ihand)(void *), void *arg, 
+    void **cookiep)
 {
 	struct scc_chan *ch;
 	struct scc_mode *m;
@@ -525,7 +526,7 @@
 			bus_teardown_intr(dev, ch->ch_ires, ch->ch_icookie);
 			bus_setup_intr(dev, ch->ch_ires,
 			    INTR_TYPE_TTY | INTR_MPSAFE, 
-			    NULL, (driver_intr_t *)scc_bfe_intr, sc, &ch->ch_icookie);			    
+			    scc_bfe_intr, NULL, sc, &ch->ch_icookie);			    
 		}
 	}
 


More information about the p4-projects mailing list