PERFORCE change 94716 for review

John-Mark Gurney jmg at FreeBSD.org
Thu Apr 6 03:35:22 UTC 2006


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

Change 94716 by jmg at 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);


More information about the p4-projects mailing list