1 #include "lib/kernel/list.h"
6 /* <Bus, Device, Function> logically identify a unique PCI device */
10 /* Vendor and Device ID */
20 #define PCI_BAD_DEVICE 0xffff
22 /* PCI-to-PCI bridge related numbers */
23 #define PCI_BRIDGE_BASE_CLASS 0x06
24 #define PCI_BRIDGE_SUB_CLASS 0x04
25 #define PCI_BRIDGE_REG_SBUS 0x19
26 #define PCI_BRIDGE_HEADER_TYPE 0x01
28 /* Locations of registers in the typical configuration space */
29 #define PCI_REG_CLASS_INTERFACE 0x09
30 #define PCI_REG_CLASS_SUB 0x0a
31 #define PCI_REG_CLASS_BASE 0x0b
32 #define PCI_REG_HEADER_TYPE 0x0e