mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
Kernel/PCI: Start enumeration in specified start bus of the PCI domain
Some devices, like the Intel Volume Management Device, might have bus numbering restrictions (so numbers can be from 224 to 225, for example).
This commit is contained in:
parent
0833ae0b36
commit
518473846a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue