mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +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
Notes:
sideshowbarker
2024-07-17 20:38:31 +09:00
Author: https://github.com/supercomputer7
Commit: 518473846a
Pull-request: https://github.com/SerenityOS/serenity/pull/11952
Reviewed-by: https://github.com/IdanHo ✅
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