diff options
Diffstat (limited to 'Kernel/Bus/PCI/Controller/HostBridge.cpp')
-rw-r--r-- | Kernel/Bus/PCI/Controller/HostBridge.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Bus/PCI/Controller/HostBridge.cpp b/Kernel/Bus/PCI/Controller/HostBridge.cpp index 6d7748619e..0535195cc9 100644 --- a/Kernel/Bus/PCI/Controller/HostBridge.cpp +++ b/Kernel/Bus/PCI/Controller/HostBridge.cpp @@ -106,8 +106,8 @@ UNMAP_AFTER_INIT void HostBridge::enumerate_attached_devices(Function<void(Devic VERIFY(Access::the().scan_lock().is_locked()); // First scan bus 0. Find any device on that bus, and if it's a PCI-to-PCI // bridge, recursively scan it too. - m_enumerated_buses.set(0, true); - enumerate_bus(callback, 0, true); + m_enumerated_buses.set(m_domain.start_bus(), true); + enumerate_bus(callback, m_domain.start_bus(), true); // Handle Multiple PCI host bridges on slot 0, device 0. // If we happen to miss some PCI buses because they are not reachable through |