Date: Mon, 26 Jun 2006 14:13:36 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100060 for review Message-ID: <200606261413.k5QEDaM7074141@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100060 Change 100060 by piso@piso_newluxor on 2006/06/26 14:13:02 Add a filter parameter to isa_setup_intr() for amd64, ia64 and sparc64. Affected files ... .. //depot/projects/soc2006/intr_filter/amd64/isa/isa.c#2 edit .. //depot/projects/soc2006/intr_filter/ia64/isa/isa.c#2 edit .. //depot/projects/soc2006/intr_filter/sparc64/isa/isa.c#2 edit Differences ... ==== //depot/projects/soc2006/intr_filter/amd64/isa/isa.c#2 (text+ko) ==== @@ -147,10 +147,11 @@ */ int isa_setup_intr(device_t bus, device_t child, struct resource *r, int flags, - void (*ihand)(void *), void *arg, void **cookiep) + driver_filter_t *filter, void (*ihand)(void *), void *arg, + void **cookiep) { return (BUS_SETUP_INTR(device_get_parent(bus), child, r, flags, - ihand, arg, cookiep)); + filter, ihand, arg, cookiep)); } int ==== //depot/projects/soc2006/intr_filter/ia64/isa/isa.c#2 (text+ko) ==== @@ -155,10 +155,11 @@ */ int isa_setup_intr(device_t bus, device_t child, struct resource *r, int flags, - void (*ihand)(void *), void *arg, void **cookiep) + driver_filter_t *filter, void (*ihand)(void *), void *arg, + void **cookiep) { return (BUS_SETUP_INTR(device_get_parent(bus), child, r, flags, - ihand, arg, cookiep)); + filter, ihand, arg, cookiep)); } int ==== //depot/projects/soc2006/intr_filter/sparc64/isa/isa.c#2 (text+ko) ==== @@ -399,9 +399,9 @@ } int -isa_setup_intr(device_t dev, device_t child, - struct resource *irq, int flags, - driver_intr_t *intr, void *arg, void **cookiep) +isa_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, + driver_filter_t *filter, driver_intr_t *intr, void *arg, + void **cookiep) { /* @@ -410,8 +410,8 @@ * The interrupt had been routed before it was added to the * resource list of the child. */ - return (BUS_SETUP_INTR(device_get_parent(dev), child, irq, flags, intr, - arg, cookiep)); + return (BUS_SETUP_INTR(device_get_parent(dev), child, irq, flags, filter, + intr, arg, cookiep)); } int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606261413.k5QEDaM7074141>