[lib][fdtwalk] skip scanning pci busses marked 'disabled'

This commit is contained in:
Travis Geiselbrecht
2024-06-19 16:17:13 -07:00
parent e3a5f9c363
commit bd423cad4d
2 changed files with 14 additions and 2 deletions

View File

@@ -142,6 +142,7 @@ status_t pci_bus_mgr_init() {
// TODO: deal with root bus not having reference to bridge device
status_t err = bus::probe(loc, nullptr, &b, true);
if (err < 0) {
printf("PCI: failed to probe bus, error %d\n", err);
return err;
}