diff options
author | Andreas Kling <kling@serenityos.org> | 2020-09-05 15:41:50 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-05 15:42:54 +0200 |
commit | 802f5411842db8c60373f89ce524b350c74bb6c5 (patch) | |
tree | 2371c21a7f8f5ce5c3800c4a6fb67f5f883411dd /Kernel | |
parent | 3f369032013bf3fc63bf5e78b3bd9bd850851de1 (diff) | |
download | serenity-802f5411842db8c60373f89ce524b350c74bb6c5.zip |
Kernel/USB: Disable autodetection of UHCI controllers for now
Until this thing becomes stable, let's not bother everyone with it.
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Devices/UHCIController.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Kernel/Devices/UHCIController.cpp b/Kernel/Devices/UHCIController.cpp index f58cfa0bc5..a76be53296 100644 --- a/Kernel/Devices/UHCIController.cpp +++ b/Kernel/Devices/UHCIController.cpp @@ -26,6 +26,8 @@ #include <Kernel/Devices/UHCIController.h> +#define UHCI_ENABLED 0 + namespace Kernel { static constexpr u16 UHCI_USBCMD_RUN = 0x0001; @@ -46,6 +48,9 @@ static constexpr u16 UHCI_USBSTS_USB_INTERRUPT = 0x0001; void UHCIController::detect() { +#if !UHCI_ENABLED + return; +#endif PCI::enumerate([&](const PCI::Address& address, PCI::ID id) { if (address.is_null()) return; |