mirror of
https://github.com/opnsense/src.git
synced 2026-03-14 22:53:16 -04:00
[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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Reference in a new issue