Make HDAudio driver find with PCI code constants.

This commit is contained in:
TomAwezome 2022-12-30 14:22:20 -05:00
parent b3af1628a2
commit 6063c02243

View file

@ -714,7 +714,7 @@ Bool HDAudioScan()
I64 i = -1, j; I64 i = -1, j;
while (TRUE) while (TRUE)
{ {
j = PCIClassFind(0x040300, ++i); j = PCIClassFind(PCIC_MULTIMEDIA << 16 | PCISC_AUDIO << 8, ++i);
if (j < 0) if (j < 0)
return FALSE; return FALSE;