Bugfix in pci.inc for network drivers.

git-svn-id: svn://kolibrios.org@2929 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-08-18 00:06:27 +00:00
parent 54202798c2
commit e12b00bee6

View File

@ -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