PERFORCE change 112819 for review

Paolo Pisati piso at FreeBSD.org
Fri Jan 12 07:16:39 PST 2007


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

Change 112819 by piso at piso_newluxor on 2007/01/12 15:16:16

	Fix sparc64/psycho

Affected files ...

.. //depot/projects/soc2006/intr_filter/sparc64/pci/psycho.c#9 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/sparc64/pci/psycho.c#9 (text+ko) ====

@@ -705,11 +705,11 @@
 	if (sc->sc_irq_res[index] == NULL)
 		panic("%s: failed to get interrupt", __func__);
 	if (iflags & FAST)
-		res = bus_setup_intr(dev, sc->sc_irq_res[index], 
+		res = bus_setup_intr(sc->sc_dev, sc->sc_irq_res[index], 
 		    INTR_TYPE_MISC | (iflags & ~FAST), handler, NULL, sc, 
 		    &sc->sc_ihand[index]);
 	else
-		res = bus_setup_intr(dev, sc->sc_irq_res[index], 
+		res = bus_setup_intr(sc->sc_dev, sc->sc_irq_res[index], 
 		    INTR_TYPE_MISC | iflags, NULL, handler, sc, 
 		    &sc->sc_ihand[index]);
 	if (res != 0)


More information about the p4-projects mailing list