4 /* General PCI functions. This is implemented by pci-linux.c and pci-raw.c; the
5 * former uses Linux's /proc/bus/pci interface for access from userspace, while
6 * the latter accesses the PCI hardware directly.
9 void pci_write32(int bus, int slot, int fn, int addr, uint32_t data);
10 void pci_write16(int bus, int slot, int fn, int addr, uint16_t data);
11 void pci_write8(int bus, int slot, int fn, int addr, uint8_t data);
13 uint32_t pci_read32(int bus, int slot, int fn, int addr);
14 uint16_t pci_read16(int bus, int slot, int fn, int addr);
15 uint8_t pci_read8(int bus, int slot, int fn, int addr);