0001
0002 #ifndef _ASM_X86_PCI_DIRECT_H
0003 #define _ASM_X86_PCI_DIRECT_H
0004
0005 #include <linux/types.h>
0006
0007
0008
0009
0010 extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset);
0011 extern u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset);
0012 extern u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset);
0013 extern void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, u32 val);
0014 extern void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val);
0015 extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val);
0016
0017 extern int early_pci_allowed(void);
0018 #endif