mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +00:00
Fix AC97 PCI var names.
This commit is contained in:
parent
ac7598808d
commit
027edae296
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ class CAC97BufferDescriptorList
|
||||||
|
|
||||||
class CAC97
|
class CAC97
|
||||||
{
|
{
|
||||||
@pci_info pci;
|
CPCIInfo pci;
|
||||||
CAC97BufferDescriptorList *bdl[3];
|
CAC97BufferDescriptorList *bdl[3];
|
||||||
U16 nam;
|
U16 nam;
|
||||||
U16 nabm;
|
U16 nabm;
|
||||||
|
@ -174,7 +174,7 @@ I64 AC97Init()
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@get_pci_info(j, &ac97.pci);
|
PCIInfoGet(j, &ac97.pci);
|
||||||
|
|
||||||
if (ac97.pci.vendor_id != 0x8086 || ac97.pci.device_id != 0x2415)
|
if (ac97.pci.vendor_id != 0x8086 || ac97.pci.device_id != 0x2415)
|
||||||
goto device_not_found;
|
goto device_not_found;
|
||||||
|
|
Loading…
Reference in a new issue