- Define structure pointer to NULL to make the compiler happy
[AROS.git] / rom / hidds / ata_pci / pci.h
blob2c29dd82660873f7a21930d5fa023e6b9d43030b
1 /* PCI class ID */
2 #define PCI_CLASS_MASSSTORAGE 0x01
4 /* Valid subclasses, taken from http://pci-ids.ucw.cz/read/PD/01 */
5 #define PCI_SUBCLASS_SCSI 0
6 #define PCI_SUBCLASS_IDE 1
7 #define PCI_SUBCLASS_FLOPPY 2
8 #define PCI_SUBCLASS_IPI 3
9 #define PCI_SUBCLASS_RAID 4
10 #define PCI_SUBCLASS_ATA 5
11 #define PCI_SUBCLASS_SATA 6
12 #define PCI_SUBCLASS_SAS 7
14 /* Configuration space registers */
15 #define IDE_IO_CFG 0x54
17 #define IOCFG_SCR1 (1 << 7) /* Secondary 1 cable report */
18 #define IOCFG_SCR0 (1 << 6) /* Secondary 0 cable report */
19 #define IOCFG_PCR1 (1 << 5) /* Primary 1 cable report */
20 #define IOCFG_PCR0 (1 << 4) /* Primary 0 cable report */