Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 15:16:37 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 112819 for review
Message-ID:  <200701121516.l0CFGb9O010487@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112819

Change 112819 by piso@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)



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