PERFORCE change 102053 for review

Paolo Pisati piso at FreeBSD.org
Fri Jul 21 11:53:22 UTC 2006


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

Change 102053 by piso at piso_longino on 2006/07/21 11:52:29

	Axe INTR_FAST.

Affected files ...

.. //depot/projects/soc2006/intr_filter/dev/ppbus/pps.c#4 edit
.. //depot/projects/soc2006/intr_filter/dev/zs/zs_macio.c#4 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/dev/ppbus/pps.c#4 (text+ko) ====

@@ -205,7 +205,7 @@
 
 		/* attach the interrupt handler */
 		if ((error = bus_setup_intr(ppsdev, sc->intr_resource,
-		    (INTR_TYPE_TTY | INTR_MPSAFE | INTR_FAST), 
+		    INTR_TYPE_TTY, 
 		    ppsintr, NULL,
 		    sc, &sc->intr_cookie))) {
 			ppb_release_bus(ppbus, ppsdev);

==== //depot/projects/soc2006/intr_filter/dev/zs/zs_macio.c#4 (text+ko) ====

@@ -158,8 +158,8 @@
 		device_printf(dev, "could not allocate interrupt 1\n");
 		goto error;
 	}
-	if (bus_setup_intr(dev, sc->sc_irqres1, INTR_TYPE_TTY | INTR_FAST,
-	    (driver_filter_t *)zs_intr, NULL, sc, &sc->sc_ih1) != 0) {
+	if (bus_setup_intr(dev, sc->sc_irqres1, INTR_TYPE_TTY,
+	    zs_intr, NULL, sc, &sc->sc_ih1) != 0) {
 		device_printf(dev, "could not setup interrupt 1\n");
 		goto error;
 	}
@@ -170,8 +170,8 @@
 		device_printf(dev, "could not allocate interrupt 2\n");
 		goto error;
 	}
-	if (bus_setup_intr(dev, sc->sc_irqres2, INTR_TYPE_TTY | INTR_FAST,
-	    (driver_filter_t *)zs_intr, NULL, sc, &sc->sc_ih2) != 0) {
+	if (bus_setup_intr(dev, sc->sc_irqres2, INTR_TYPE_TTY,
+	    zs_intr, NULL, sc, &sc->sc_ih2) != 0) {
 		device_printf(dev, "could not setup interrupt 2\n");
 		goto error;
 	}


More information about the p4-projects mailing list