9 * i386 PCI configuration space access
11 * We have two methods of PCI configuration space access: the PCI BIOS
12 * and direct Type 1 accesses. Selecting between them is via the
13 * compile-time switch -DCONFIG_PCI_DIRECT.
18 #define pci_max_bus pcidirect_max_bus
19 #define pci_read_config_byte pcidirect_read_config_byte
20 #define pci_read_config_word pcidirect_read_config_word
21 #define pci_read_config_dword pcidirect_read_config_dword
22 #define pci_write_config_byte pcidirect_write_config_byte
23 #define pci_write_config_word pcidirect_write_config_word
24 #define pci_write_config_dword pcidirect_write_config_dword
25 #else /* CONFIG_PCI_DIRECT */
26 #define pci_max_bus pcibios_max_bus
27 #define pci_read_config_byte pcibios_read_config_byte
28 #define pci_read_config_word pcibios_read_config_word
29 #define pci_read_config_dword pcibios_read_config_dword
30 #define pci_write_config_byte pcibios_write_config_byte
31 #define pci_write_config_word pcibios_write_config_word
32 #define pci_write_config_dword pcibios_write_config_dword
33 #endif /* CONFIG_PCI_DIRECT */
35 #endif /* _PCI_IO_H */