summaryrefslogtreecommitdiff
path: root/Kernel/Bus/PCI
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-11-23 01:13:02 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-23 10:06:24 +0100
commit7a2a0c10521077f746b855c83297e401af3ded83 (patch)
tree23123da46a174eb8eb7d712d4689c6222af5425a /Kernel/Bus/PCI
parent1aafb6cd2377f5456bd0cfa863049fa33f58b87a (diff)
downloadserenity-7a2a0c10521077f746b855c83297e401af3ded83.zip
Kernel: Implement AC97 audio device driver
Diffstat (limited to 'Kernel/Bus/PCI')
-rw-r--r--Kernel/Bus/PCI/Definitions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Kernel/Bus/PCI/Definitions.h b/Kernel/Bus/PCI/Definitions.h
index f563064257..97c8555e8f 100644
--- a/Kernel/Bus/PCI/Definitions.h
+++ b/Kernel/Bus/PCI/Definitions.h
@@ -64,6 +64,7 @@ static constexpr size_t memory_range_per_bus = mmio_device_space_size * to_under
// Taken from https://pcisig.com/sites/default/files/files/PCI_Code-ID_r_1_11__v24_Jan_2019.pdf
enum class ClassID {
MassStorage = 0x1,
+ Multimedia = 0x4,
Bridge = 0x6,
};
@@ -79,6 +80,14 @@ enum class SATAProgIF {
}
+namespace Multimedia {
+
+enum class SubclassID {
+ AudioController = 0x1,
+};
+
+}
+
namespace Bridge {
enum class SubclassID {