From owner-p4-projects@FreeBSD.ORG Thu Apr 6 03:35:22 2006 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 518DD16A423; Thu, 6 Apr 2006 03:35:22 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F35116A420 for ; Thu, 6 Apr 2006 03:35:22 +0000 (UTC) (envelope-from jmg@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E320143D5F for ; Thu, 6 Apr 2006 03:35:20 +0000 (GMT) (envelope-from jmg@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k363ZKEF064894 for ; Thu, 6 Apr 2006 03:35:20 GMT (envelope-from jmg@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k363ZK1W064886 for perforce@freebsd.org; Thu, 6 Apr 2006 03:35:20 GMT (envelope-from jmg@freebsd.org) Date: Thu, 6 Apr 2006 03:35:20 GMT Message-Id: <200604060335.k363ZK1W064886@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmg@freebsd.org using -f From: John-Mark Gurney To: Perforce Change Reviews Cc: Subject: PERFORCE change 94716 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: Thu, 06 Apr 2006 03:35:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=94716 Change 94716 by jmg@jmg_arlene on 2006/04/06 03:35:01 add a type.. should we just make MISC the default instead of panicing? is it really that necessary now w/ MP? Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#24 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#24 (text+ko) ==== @@ -191,8 +191,9 @@ return ENXIO; } - error = bus_setup_intr(dev, sc->hs_intr, INTR_MPSAFE, hvpci_intr, sc, - &sc->hs_intrcookie); + /* XXX - Should this be _CLK since we are redistributing intrs? */ + error = bus_setup_intr(dev, sc->hs_intr, INTR_MPSAFE|INTR_TYPE_MISC, + hvpci_intr, sc, &sc->hs_intrcookie); if (error) { bus_release_resource(dev, SYS_RES_IRQ, rman_get_rid(sc->hs_intr), sc->hs_intr);