Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2006 03:35:20 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94716 for review
Message-ID:  <200604060335.k363ZK1W064886@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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