From e12b00bee6b198f9bc8fdacfed2e1cc018246160 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sat, 18 Aug 2012 00:06:27 +0000 Subject: [PATCH] Bugfix in pci.inc for network drivers. git-svn-id: svn://kolibrios.org@2929 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/branches/net/drivers/bus/pci.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/branches/net/drivers/bus/pci.inc b/kernel/branches/net/drivers/bus/pci.inc index de6f579bed..16afcc3a7f 100644 --- a/kernel/branches/net/drivers/bus/pci.inc +++ b/kernel/branches/net/drivers/bus/pci.inc @@ -41,7 +41,9 @@ macro find_io bus, dev, io { movzx ecx, bus movzx edx, dev .check: + push ecx edx stdcall PciRead32, ecx ,edx ,esi + pop edx ecx test eax, PCI_BASE_ADDRESS_IO_MASK jz .inc