forked from KolibriOS/kolibrios
Bugfix in pci.inc for network drivers.
git-svn-id: svn://kolibrios.org@2929 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
54202798c2
commit
e12b00bee6
@ -41,7 +41,9 @@ macro find_io bus, dev, io {
|
|||||||
movzx ecx, bus
|
movzx ecx, bus
|
||||||
movzx edx, dev
|
movzx edx, dev
|
||||||
.check:
|
.check:
|
||||||
|
push ecx edx
|
||||||
stdcall PciRead32, ecx ,edx ,esi
|
stdcall PciRead32, ecx ,edx ,esi
|
||||||
|
pop edx ecx
|
||||||
|
|
||||||
test eax, PCI_BASE_ADDRESS_IO_MASK
|
test eax, PCI_BASE_ADDRESS_IO_MASK
|
||||||
jz .inc
|
jz .inc
|
||||||
|
Loading…
Reference in New Issue
Block a user