1 #define PCI_VENDOR_INTEL 0x8086
2 #define PCI_VENDOR_VIATECH 0x1106
3 #define PCI_PRODUCT_VIATECH_VT8251_SATA 0x3287
4 #define PCI_VENDOR_ATI 0x1002
5 #define PCI_PRODUCT_ATI_SB600_SATA 0x4380
6 #define PCI_PRODUCT_ATI_SB700_IDE 0x4390
7 #define PCI_PRODUCT_ATI_SB700_SATA 0x4391
8 #define PCI_VENDOR_NVIDIA 0x10de
9 #define PCI_PRODUCT_NVIDIA_MCP65_AHCI_2 0x0448
10 #define PCI_PRODUCT_NVIDIA_MCP67_AHCI_1 0x0560
11 #define PCI_PRODUCT_NVIDIA_MCP77_AHCI_5 0x0759
12 #define PCI_PRODUCT_NVIDIA_MCP79_AHCI_1 0x0ab8
14 #define PCIR_VENDOR 0x00
15 #define PCIR_DEVICE 0x02
16 #define PCIR_COMMAND 0x04
17 #define PCIR_REVID 0x08
18 #define PCIR_PROGIF 0x09
19 #define PCIR_SUBCLASS 0x0a
20 #define PCIR_CLASS 0x0b
21 #define PCIR_BAR(x) (0x10 + (x) * 4)
23 #define PCIC_STORAGE 0x01
25 #define PCIS_STORAGE_IDE 0x01
26 #define PCIS_STORAGE_SATA 0x06
27 #define PCIP_STORAGE_SATA_AHCI_1_0 0x01