Date: Mon, 26 Jun 2006 11:35:07 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100048 for review Message-ID: <200606261135.k5QBZ7Dq055931@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100048 Change 100048 by piso@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); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606261135.k5QBZ7Dq055931>
