Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2007 06:52:09 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 117057 for review
Message-ID:  <200704010652.l316q9ra007840@repoman.freebsd.org>

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

Change 117057 by marcel@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,



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