mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Make HDAudio driver find with PCI code constants.
This commit is contained in:
parent
b3af1628a2
commit
6063c02243
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue