diff options
Diffstat (limited to 'Kernel/Bus/PCI/Device.cpp')
-rw-r--r-- | Kernel/Bus/PCI/Device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Bus/PCI/Device.cpp b/Kernel/Bus/PCI/Device.cpp index e371f16ffb..b2c7862483 100644 --- a/Kernel/Bus/PCI/Device.cpp +++ b/Kernel/Bus/PCI/Device.cpp @@ -17,7 +17,7 @@ Device::Device(Address address) bool Device::is_msi_capable() const { - for (const auto& capability : PCI::get_physical_id(pci_address()).capabilities()) { + for (const auto& capability : PCI::get_device_identifier(pci_address()).capabilities()) { if (capability.id() == PCI_CAPABILITY_MSI) return true; } @@ -25,7 +25,7 @@ bool Device::is_msi_capable() const } bool Device::is_msix_capable() const { - for (const auto& capability : PCI::get_physical_id(pci_address()).capabilities()) { + for (const auto& capability : PCI::get_device_identifier(pci_address()).capabilities()) { if (capability.id() == PCI_CAPABILITY_MSIX) return true; } |