1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

Kernel: Implement AC97 audio device driver

This commit is contained in:
Jelle Raaijmakers 2021-11-23 01:13:02 +01:00 committed by Andreas Kling
parent 1aafb6cd23
commit 7a2a0c1052
5 changed files with 403 additions and 0 deletions

View file

@ -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 {