summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-04 09:59:38 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-04 21:21:41 +0200
commite834c24eea2ca87e35f4c0f8c9bbdf007d859372 (patch)
tree602dcc2d8011eccfb75505c9d7b1f5de938a7b6b /Kernel/init.cpp
parent2e01f1f9b9283bf4196a804030e6a536da2a184d (diff)
downloadserenity-e834c24eea2ca87e35f4c0f8c9bbdf007d859372.zip
Kernel/USB: Start fleshing out a basic UHCI controller driver :^)
Let's see if we can talk to some USB devices. We will now detect a UHCI controller if present on the PCI bus.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index d38b91da18..c0d317b915 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -46,6 +46,7 @@
#include <Kernel/Devices/RandomDevice.h>
#include <Kernel/Devices/SB16.h>
#include <Kernel/Devices/SerialDevice.h>
+#include <Kernel/Devices/UHCIController.h>
#include <Kernel/Devices/VMWareBackdoor.h>
#include <Kernel/Devices/ZeroDevice.h>
#include <Kernel/FileSystem/Ext2FileSystem.h>
@@ -246,6 +247,8 @@ void init_stage2()
}
}
+ UHCIController::detect();
+
E1000NetworkAdapter::detect();
RTL8139NetworkAdapter::detect();