PERFORCE change 117057 for review

Marcel Moolenaar marcel at FreeBSD.org
Sun Apr 1 06:52:11 UTC 2007


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

Change 117057 by marcel at marcel_xcllnt on 2007/04/01 06:51:08

	Catch up with interrupt filtering.

Affected files ...

.. //depot/projects/powerpc/sys/powerpc/powermac/viapmu.c#2 edit

Differences ...

==== //depot/projects/powerpc/sys/powerpc/powermac/viapmu.c#2 (text+ko) ====

@@ -72,12 +72,13 @@
 
 static int viapmu_server_mode(struct viapmu_softc *);
 
-static void
+static int
 viapmu_intr(void *arg)
 {
 	struct viapmu_softc *sc = (struct viapmu_softc *)arg;
 
 	if (sc);
+	return (FILTER_STRAY);
 }
 
 static int
@@ -120,8 +121,8 @@
 		return (ENXIO);
 	}
 
-	error = bus_setup_intr(dev, sc->sc_ires, INTR_TYPE_MISC | INTR_FAST,
-	    viapmu_intr, sc, &sc->sc_icookie);
+	error = bus_setup_intr(dev, sc->sc_ires, INTR_TYPE_MISC, viapmu_intr,
+	    NULL, sc, &sc->sc_icookie);
 	if (error != 0) {
 		device_printf(dev, "could not setup interrupt\n");
 		bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irid,


More information about the p4-projects mailing list