aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-04 23:48:29 +0000
committerhpa <hpa>2005-01-04 23:48:29 +0000
commit5de270feba04b7b9d0ea24789b67224b2060733e (patch)
treedd8851ee71b895303bb1d05fe8e766f54eaeb4b9 /com32/include
parent0f5815800c602279e8a764441a16fd5478c0f387 (diff)
downloadsyslinux-5de270feba04b7b9d0ea24789b67224b2060733e.tar.gz
syslinux-5de270feba04b7b9d0ea24789b67224b2060733e.tar.xz
syslinux-5de270feba04b7b9d0ea24789b67224b2060733e.zip
Fix PCI access functions
Diffstat (limited to 'com32/include')
-rw-r--r--com32/include/sys/pci.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/com32/include/sys/pci.h b/com32/include/sys/pci.h
index 9a01cc47..03d8884f 100644
--- a/com32/include/sys/pci.h
+++ b/com32/include/sys/pci.h
@@ -13,11 +13,11 @@ static inline pciaddr_t pci_mkaddr(uint32_t bus, uint32_t dev,
((func & 0x07) << 8) | (reg & 0xff);
}
-uint8_t pci_read8(pciaddr_t a);
-uint16_t pci_read16(pciaddr_t a);
-uint32_t pci_read32(pciaddr_t a);
-void pci_write8(uint8_t v, pciaddr_t a);
-void pci_write16(uint16_t v, pciaddr_t a);
-void pci_write32(uint32_t v, pciaddr_t a);
+uint8_t pci_readb(pciaddr_t a);
+uint16_t pci_readw(pciaddr_t a);
+uint32_t pci_readl(pciaddr_t a);
+void pci_writeb(uint8_t v, pciaddr_t a);
+void pci_writew(uint16_t v, pciaddr_t a);
+void pci_writel(uint32_t v, pciaddr_t a);
#endif /* _SYS_PCI_H */