Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2006 06:41:06 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94510 for review
Message-ID:  <200604030641.k336f6iG055021@repoman.freebsd.org>

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

Change 94510 by jmg@jmg_arlene on 2006/04/03 06:40:19

	don't force the unit number to match the bus number, this breaks
	machines with multiple pci domains... how the alpha worked with
	this is beyond me (besides using custom pci bridge drivers?)

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/dev/pci/pci_pci.c#3 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/dev/pci/pci_pci.c#3 (text+ko) ====

@@ -245,7 +245,7 @@
     pcib_attach_common(dev);
     sc = device_get_softc(dev);
     if (sc->secbus != 0) {
-	child = device_add_child(dev, "pci", sc->secbus);
+	child = device_add_child(dev, "pci", -1);
 	if (child != NULL)
 	    return(bus_generic_attach(dev));
     } 



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