cvs commit: src/sys/sparc64/pci ofw_pcibus.c
Marius Strobl
marius at FreeBSD.org
Thu Jan 20 05:29:31 PST 2005
marius 2005-01-20 13:29:31 UTC
FreeBSD src repository
Modified files:
sys/sparc64/pci ofw_pcibus.c
Log:
At least on some U30 there's a spurious duplicate device node of an EBus
bridge in the device tree which lacks the mandatory (also by the OFW PCI
bus binding spec) "reg" property. Change the code to just ignore nodes
missing the "reg" property instead of panicing when encountering such a
node. Also ignore nodes without a "name" property (guaranteed by the OFW
PCI bus binding spec). This brings the behaviour of the MD OFW PCI code
regarding such incomplete nodes in line with the EBus and the SBus code.
Tested by: Cyril Tikhomiroff <tikho at anor.net>
MFC after: 1 month
Revision Changes Path
1.5 +12 -5 src/sys/sparc64/pci/ofw_pcibus.c
More information about the cvs-src
mailing list