Specifications
Code Definitions
129
Status of IDE device. Values are defined below. There is one HDD_INFO structure
per IDE controller. The
IdentifyDrive is per drive. Index 0 is master and index
1 is slave.
Bus
PCI bus of IDE controller.
Device
PCI device of IDE controller.
Function
PCI function of IDE controller.
CommandBaseAddress
Command ports base address.
ControlBaseAddress
Control ports base address.
BusMasterAddress
Bus master address
IdentifyDrive
Data that identifies the drive data, one per possible attached drive. Type
ATAPI_IDENTIFY is defined below.
//*************************************************
//
Status values
//*************************************************
#define HDD_PRIMARY 0x01
#define HDD_SECONDARY 0x02
#define HDD_MASTER_ATAPI 0x04
#define HDD_SLAVE_ATAPI 0x08
#define HDD_MASTER_ATAPI_ZIPDISK 0x10
#define HDD_MASTER_IDE 0x20
#define HDD_SLAVE_IDE 0x40
#define HDD_SLAVE_ATAPI_ZIPDISK 0x80










