From f6ae9f8a6dfa1001e15eb14c4febd8d5b88ce91e Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Mon, 22 Apr 2024 12:25:06 +0300 Subject: [PATCH] Kernel: Reset enumerated buses bitmap before enumerating PCI devices This allows this method to be used more than once. --- Kernel/Bus/PCI/Controller/HostController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/Bus/PCI/Controller/HostController.cpp b/Kernel/Bus/PCI/Controller/HostController.cpp index 22fafb2109f..75fdef264f0 100644 --- a/Kernel/Bus/PCI/Controller/HostController.cpp +++ b/Kernel/Bus/PCI/Controller/HostController.cpp @@ -108,6 +108,7 @@ UNMAP_AFTER_INIT void HostController::enumerate_attached_devices(Function