mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:57:42 +00:00
PCI: Add list of capabilities for each device during first enumeration
This commit is contained in:
parent
9d10eb473d
commit
85b4256d10
4 changed files with 44 additions and 3 deletions
|
@ -40,7 +40,7 @@ IOAccess::IOAccess()
|
|||
{
|
||||
klog() << "PCI: Using I/O instructions for PCI configuration space access";
|
||||
enumerate_hardware([&](const Address& address, ID id) {
|
||||
m_physical_ids.append({ address, id });
|
||||
m_physical_ids.append({ address, id, get_capabilities(address) });
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue