Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2006 11:53:21 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 102053 for review
Message-ID:  <200607211153.k6LBrLX6044857@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102053

Change 102053 by piso@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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607211153.k6LBrLX6044857>