diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-11-23 01:13:02 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-23 10:06:24 +0100 |
commit | 7a2a0c10521077f746b855c83297e401af3ded83 (patch) | |
tree | 23123da46a174eb8eb7d712d4689c6222af5425a /Kernel/init.cpp | |
parent | 1aafb6cd2377f5456bd0cfa863049fa33f58b87a (diff) | |
download | serenity-7a2a0c10521077f746b855c83297e401af3ded83.zip |
Kernel: Implement AC97 audio device driver
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r-- | Kernel/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp index 32a504d2e9..7abc3a2f8f 100644 --- a/Kernel/init.cpp +++ b/Kernel/init.cpp @@ -13,6 +13,7 @@ #include <Kernel/Bus/VirtIO/Device.h> #include <Kernel/CMOS.h> #include <Kernel/CommandLine.h> +#include <Kernel/Devices/Audio/AC97.h> #include <Kernel/Devices/Audio/SB16.h> #include <Kernel/Devices/DeviceManagement.h> #include <Kernel/Devices/FullDevice.h> @@ -319,6 +320,7 @@ void init_stage2(void*) PTYMultiplexer::initialize(); SB16::try_detect_and_create(); + AC97::detect(); StorageManagement::the().initialize(kernel_command_line().root_device(), kernel_command_line().is_force_pio()); if (VirtualFileSystem::the().mount_root(StorageManagement::the().root_filesystem()).is_error()) { |