Go to the documentation of this file.
28 #include <linux/types.h>
29 #include <linux/pci.h>
36 static inline void NdisRawWritePortUchar(
u32 port,
u8 val)
41 static inline void NdisRawReadPortUchar(
u32 port,
u8 *pval)
46 static inline void NdisRawReadPortUshort(
u32 port,
u16 *pval)
51 static inline void NdisRawReadPortUlong(
u32 port,
u32 *pval)
78 #define PCI_MAX_BRIDGE_NUMBER 255
79 #define PCI_MAX_DEVICES 32
80 #define PCI_MAX_FUNCTION 8
82 #define PCI_CONF_ADDRESS 0x0CF8
83 #define PCI_CONF_DATA 0x0CFC
85 #define PCI_CLASS_BRIDGE_DEV 0x06
86 #define PCI_SUBCLASS_BR_PCI_TO_PCI 0x04
88 #define U1DONTCARE 0xFF
89 #define U2DONTCARE 0xFFFF
90 #define U4DONTCARE 0xFFFFFFFF
92 #define INTEL_VENDOR_ID 0x8086
93 #define SIS_VENDOR_ID 0x1039
94 #define ATI_VENDOR_ID 0x1002
95 #define ATI_DEVICE_ID 0x7914
96 #define AMD_VENDOR_ID 0x1022
98 #define PCI_CAPABILITY_ID_PCI_EXPRESS 0x10