Date: Mon, 5 Mar 2007 23:01:28 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 115381 for review Message-ID: <200703052301.l25N1SCK070403@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=115381 Change 115381 by piso@piso_newluxor on 2007/03/05 23:01:11 Restore the sos's intendation style. Affected files ... .. //depot/projects/soc2006/intr_filter/dev/ata/ata-pci.c#7 edit .. //depot/projects/soc2006/intr_filter/dev/scc/scc_core.c#15 edit Differences ... ==== //depot/projects/soc2006/intr_filter/dev/ata/ata-pci.c#7 (text+ko) ==== @@ -339,12 +339,12 @@ int ata_pci_setup_intr(device_t dev, device_t child, struct resource *irq, - int flags, driver_filter_t *filter, driver_intr_t *function, - void *argument, void **cookiep) + int flags, driver_filter_t *filter, + driver_intr_t *function, void *argument, void **cookiep) { if (ata_legacy(dev)) { - return BUS_SETUP_INTR(device_get_parent(dev), child, irq, - flags, filter, function, argument, cookiep); + return BUS_SETUP_INTR(device_get_parent(dev), child, irq, + flags, filter, function, argument, cookiep); } else { struct ata_pci_controller *controller = device_get_softc(dev); ==== //depot/projects/soc2006/intr_filter/dev/scc/scc_core.c#15 (text) ==== @@ -535,8 +535,8 @@ if (device_get_parent(child) != dev) return (EINVAL); - /* Interrupt handlers must be FAST or MPSAFE. */ - if ((filter == NULL) && !(flags & INTR_MPSAFE)) + /* Interrupt handlers must be FILTER or MPSAFE. */ + if ((ihand != NULL) && !(flags & INTR_MPSAFE)) return (EINVAL); sc = device_get_softc(dev);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703052301.l25N1SCK070403>