X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/c43bc43891ee5fad288ca72f101878bd84164845..81148fa15713ee68be49610206526d0725a5868f:/pci/pci.h diff --git a/pci/pci.h b/pci/pci.h deleted file mode 100644 index 729f9c0..0000000 --- a/pci/pci.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef PCI_H -#define PCI_H - -/* General PCI functions. This is implemented by pci-linux.c and pci-raw.c; the - * former uses Linux's /proc/bus/pci interface for access from userspace, while - * the latter accesses the PCI hardware directly. - */ - -void pci_write32(int bus, int slot, int fn, int addr, uint32_t data); -void pci_write16(int bus, int slot, int fn, int addr, uint16_t data); -void pci_write8(int bus, int slot, int fn, int addr, uint8_t data); - -uint32_t pci_read32(int bus, int slot, int fn, int addr); -uint16_t pci_read16(int bus, int slot, int fn, int addr); -uint8_t pci_read8(int bus, int slot, int fn, int addr); - -#endif