summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-04-10 20:25:03 +0300
committerAndreas Kling <kling@serenityos.org>2020-04-11 10:02:31 +0200
commit65f939b55c3d2c7c5e9f7f8baf4b748693bf513a (patch)
tree74b06a5264e68795884805a28f8101ed412007ae /Kernel/init.cpp
parent688dd9ea66b83fcba6124ddf7d901e227599cfe8 (diff)
downloadserenity-65f939b55c3d2c7c5e9f7f8baf4b748693bf513a.zip
Kernel: Keep records of PCI::Address & PCI::ID pairs for enumeration
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index dae4574262..8a5b49046e 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -170,7 +170,7 @@ void init_stage2()
dbg() << "Text mode enabled";
} else {
bool bxvga_found = false;
- PCI::enumerate_all([&](const PCI::Address&, PCI::ID id) {
+ PCI::enumerate([&](const PCI::Address&, PCI::ID id) {
if (id.vendor_id == 0x1234 && id.device_id == 0x1111)
bxvga_found = true;
});