From owner-p4-projects@FreeBSD.ORG Sun Apr 1 06:52:10 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B843D16A403; Sun, 1 Apr 2007 06:52:10 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6DD1216A401 for ; Sun, 1 Apr 2007 06:52:10 +0000 (UTC) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 497A213C469 for ; Sun, 1 Apr 2007 06:52:10 +0000 (UTC) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l316q923007843 for ; Sun, 1 Apr 2007 06:52:09 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l316q9ra007840 for perforce@freebsd.org; Sun, 1 Apr 2007 06:52:09 GMT (envelope-from marcel@freebsd.org) Date: Sun, 1 Apr 2007 06:52:09 GMT Message-Id: <200704010652.l316q9ra007840@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Cc: Subject: PERFORCE change 117057 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2007 06:52:11 -0000 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,