[mv_pci] Do not attempt to attach disabled PCI ports
Fail probe for PCI port if the respective FDT node is not enabled Differential Revision: https://reviews.freebsd.org/D18385
This commit is contained in:
parent
0a65536cab
commit
afffcaa18f
@ -429,6 +429,9 @@ mv_pcib_probe(device_t self)
|
||||
OF_parent(node), "marvell,armada-370-pcie")))
|
||||
return (ENXIO);
|
||||
|
||||
if (!ofw_bus_status_okay(self))
|
||||
return (ENXIO);
|
||||
|
||||
device_set_desc(self, "Marvell Integrated PCI/PCI-E Controller");
|
||||
return (BUS_PROBE_DEFAULT);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user