PERFORCE change 94510 for review

John-Mark Gurney jmg at FreeBSD.org
Mon Apr 3 06:41:07 UTC 2006


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

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


More information about the p4-projects mailing list