mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Replace Win32 types by native ones.
svn path=/trunk/; revision=17178
This commit is contained in:
parent
562a0fb61f
commit
a6b3bd07b6
1 changed files with 53 additions and 53 deletions
|
@ -161,64 +161,64 @@ extern "C" {
|
||||||
|
|
||||||
typedef struct _IDE_DRIVE_IDENTIFY
|
typedef struct _IDE_DRIVE_IDENTIFY
|
||||||
{
|
{
|
||||||
WORD ConfigBits; /*00*/
|
USHORT ConfigBits; /*00*/
|
||||||
WORD LogicalCyls; /*01*/
|
USHORT LogicalCyls; /*01*/
|
||||||
WORD Reserved02; /*02*/
|
USHORT Reserved02; /*02*/
|
||||||
WORD LogicalHeads; /*03*/
|
USHORT LogicalHeads; /*03*/
|
||||||
WORD BytesPerTrack; /*04*/
|
USHORT BytesPerTrack; /*04*/
|
||||||
WORD BytesPerSector; /*05*/
|
USHORT BytesPerSector; /*05*/
|
||||||
WORD SectorsPerTrack; /*06*/
|
USHORT SectorsPerTrack; /*06*/
|
||||||
BYTE InterSectorGap; /*07*/
|
UCHAR InterSectorGap; /*07*/
|
||||||
BYTE InterSectorGapSize;
|
UCHAR InterSectorGapSize;
|
||||||
BYTE Reserved08H; /*08*/
|
UCHAR Reserved08H; /*08*/
|
||||||
BYTE BytesInPLO;
|
UCHAR BytesInPLO;
|
||||||
WORD VendorUniqueCnt; /*09*/
|
USHORT VendorUniqueCnt; /*09*/
|
||||||
char SerialNumber[20]; /*10*/
|
UCHAR SerialNumber[20]; /*10*/
|
||||||
WORD ControllerType; /*20*/
|
USHORT ControllerType; /*20*/
|
||||||
WORD BufferSize; /*21*/
|
USHORT BufferSize; /*21*/
|
||||||
WORD ECCByteCnt; /*22*/
|
USHORT ECCByteCnt; /*22*/
|
||||||
char FirmwareRev[8]; /*23*/
|
UCHAR FirmwareRev[8]; /*23*/
|
||||||
char ModelNumber[40]; /*27*/
|
UCHAR ModelNumber[40]; /*27*/
|
||||||
WORD RWMultImplemented; /*47*/
|
USHORT RWMultImplemented; /*47*/
|
||||||
WORD DWordIo; /*48*/
|
USHORT DWordIo; /*48*/
|
||||||
WORD Capabilities; /*49*/
|
USHORT Capabilities; /*49*/
|
||||||
#define IDE_DRID_STBY_SUPPORTED 0x2000
|
#define IDE_DRID_STBY_SUPPORTED 0x2000
|
||||||
#define IDE_DRID_IORDY_SUPPORTED 0x0800
|
#define IDE_DRID_IORDY_SUPPORTED 0x0800
|
||||||
#define IDE_DRID_IORDY_DISABLE 0x0400
|
#define IDE_DRID_IORDY_DISABLE 0x0400
|
||||||
#define IDE_DRID_LBA_SUPPORTED 0x0200
|
#define IDE_DRID_LBA_SUPPORTED 0x0200
|
||||||
#define IDE_DRID_DMA_SUPPORTED 0x0100
|
#define IDE_DRID_DMA_SUPPORTED 0x0100
|
||||||
WORD Reserved50; /*50*/
|
USHORT Reserved50; /*50*/
|
||||||
WORD MinPIOTransTime; /*51*/
|
USHORT MinPIOTransTime; /*51*/
|
||||||
WORD MinDMATransTime; /*52*/
|
USHORT MinDMATransTime; /*52*/
|
||||||
WORD TMFieldsValid; /*53*/
|
USHORT TMFieldsValid; /*53*/
|
||||||
WORD TMCylinders; /*54*/
|
USHORT TMCylinders; /*54*/
|
||||||
WORD TMHeads; /*55*/
|
USHORT TMHeads; /*55*/
|
||||||
WORD TMSectorsPerTrk; /*56*/
|
USHORT TMSectorsPerTrk; /*56*/
|
||||||
WORD TMCapacityLo; /*57*/
|
USHORT TMCapacityLo; /*57*/
|
||||||
WORD TMCapacityHi; /*58*/
|
USHORT TMCapacityHi; /*58*/
|
||||||
WORD RWMultCurrent; /*59*/
|
USHORT RWMultCurrent; /*59*/
|
||||||
WORD TMSectorCountLo; /*60*/
|
USHORT TMSectorCountLo; /*60*/
|
||||||
WORD TMSectorCountHi; /*61*/
|
USHORT TMSectorCountHi; /*61*/
|
||||||
WORD DmaModes; /*62*/
|
USHORT DmaModes; /*62*/
|
||||||
WORD MultiDmaModes; /*63*/
|
USHORT MultiDmaModes; /*63*/
|
||||||
WORD Reserved64[5]; /*64*/
|
USHORT Reserved64[5]; /*64*/
|
||||||
WORD Reserved69[2]; /*69*/
|
USHORT Reserved69[2]; /*69*/
|
||||||
WORD Reserved71[4]; /*71*/
|
USHORT Reserved71[4]; /*71*/
|
||||||
WORD MaxQueueDepth; /*75*/
|
USHORT MaxQueueDepth; /*75*/
|
||||||
WORD Reserved76[4]; /*76*/
|
USHORT Reserved76[4]; /*76*/
|
||||||
WORD MajorRevision; /*80*/
|
USHORT MajorRevision; /*80*/
|
||||||
WORD MinorRevision; /*81*/
|
USHORT MinorRevision; /*81*/
|
||||||
WORD SupportedFeatures82; /*82*/
|
USHORT SupportedFeatures82; /*82*/
|
||||||
WORD SupportedFeatures83; /*83*/
|
USHORT SupportedFeatures83; /*83*/
|
||||||
WORD SupportedFeatures84; /*84*/
|
USHORT SupportedFeatures84; /*84*/
|
||||||
WORD EnabledFeatures85; /*85*/
|
USHORT EnabledFeatures85; /*85*/
|
||||||
WORD EnabledFeatures86; /*86*/
|
USHORT EnabledFeatures86; /*86*/
|
||||||
WORD EnabledFeatures87; /*87*/
|
USHORT EnabledFeatures87; /*87*/
|
||||||
WORD UltraDmaModes; /*88*/
|
USHORT UltraDmaModes; /*88*/
|
||||||
WORD Reserved89[11]; /*89*/
|
USHORT Reserved89[11]; /*89*/
|
||||||
WORD Max48BitAddress[4]; /*100*/
|
USHORT Max48BitAddress[4]; /*100*/
|
||||||
WORD Reserved104[151]; /*104*/
|
USHORT Reserved104[151]; /*104*/
|
||||||
WORD Checksum; /*255*/
|
USHORT Checksum; /*255*/
|
||||||
} IDE_DRIVE_IDENTIFY, *PIDE_DRIVE_IDENTIFY;
|
} IDE_DRIVE_IDENTIFY, *PIDE_DRIVE_IDENTIFY;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue