1 #ifndef ARCH_I386_PCI_OPS_H
2 #define ARCH_I386_PCI_OPS_H
5 uint8_t (*read8) (uint8_t bus, int devfn, int where);
6 uint16_t (*read16) (uint8_t bus, int devfn, int where);
7 uint32_t (*read32) (uint8_t bus, int devfn, int where);
8 void (*write8) (uint8_t bus, int devfn, int where, uint8_t val);
9 void (*write16) (uint8_t bus, int devfn, int where, uint16_t val);
10 void (*write32) (uint8_t bus, int devfn, int where, uint32_t val);
12 extern const struct pci_ops *conf;
14 void pci_set_method_conf1(void);
15 void pci_set_method_conf2(void);
16 void pci_set_method(void);
18 #endif /* ARCH_I386_PCI_OPS_H */