mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Kernel/USB: Disable autodetection of UHCI controllers for now
Until this thing becomes stable, let's not bother everyone with it.
This commit is contained in:
parent
3f36903201
commit
802f541184
Notes:
sideshowbarker
2024-07-19 02:54:44 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/802f5411842
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue