1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

Kernel/Audio: Fail AC97 probe if no good BAR1 is found

Otherwise we get a kernel panic later on Intel SOF.
This commit is contained in:
Vladimir Serbinenko 2023-07-22 20:45:59 +02:00 committed by Andrew Kaster
parent 3e1146d4b8
commit 2e9a28272e
2 changed files with 17 additions and 0 deletions

View file

@ -48,6 +48,7 @@ private:
PCMFrontDACRate = 0x2c,
VendorID1 = 0x7c,
VendorID2 = 0x7e,
MaxUsedMixerOffset = 0x7f,
};
enum ExtendedAudioMask : u16 {
@ -79,6 +80,7 @@ private:
enum NativeAudioBusRegister : u8 {
GlobalControl = 0x2c,
MaxUsedBusOffset = 0x2f
};
enum AudioStatusRegisterFlag : u16 {