ata.h) (IDENTIFY_DEVICE_DATA 结构

IDENTIFY_DEVICE_DATA 结构包含 ATA 标识设备数据命令 (0xEC) 检索的数据。

注意

ATA 端口驱动程序和 ATA 微型端口驱动程序模型将来可能会更改或不可用。 相反,我们建议使用 Storport 驱动程序Storport 微型端口 驱动程序模型。

语法

typedef struct _IDENTIFY_DEVICE_DATA {
  struct {
    USHORT Reserved1 : 1;
    USHORT Retired3 : 1;
    USHORT ResponseIncomplete : 1;
    USHORT Retired2 : 3;
    USHORT FixedDevice : 1;
    USHORT RemovableMedia : 1;
    USHORT Retired1 : 7;
    USHORT DeviceType : 1;
  } GeneralConfiguration;
  USHORT NumCylinders;
  USHORT SpecificConfiguration;
  USHORT NumHeads;
  USHORT Retired1[2];
  USHORT NumSectorsPerTrack;
  USHORT VendorUnique1[3];
  UCHAR  SerialNumber[20];
  USHORT Retired2[2];
  USHORT Obsolete1;
  UCHAR  FirmwareRevision[8];
  UCHAR  ModelNumber[40];
  UCHAR  MaximumBlockTransfer;
  UCHAR  VendorUnique2;
  struct {
    USHORT FeatureSupported : 1;
    USHORT Reserved : 15;
  } TrustedComputing;
  struct {
    UCHAR  CurrentLongPhysicalSectorAlignment : 2;
    UCHAR  ReservedByte49 : 6;
    UCHAR  DmaSupported : 1;
    UCHAR  LbaSupported : 1;
    UCHAR  IordyDisable : 1;
    UCHAR  IordySupported : 1;
    UCHAR  Reserved1 : 1;
    UCHAR  StandybyTimerSupport : 1;
    UCHAR  Reserved2 : 2;
    USHORT ReservedWord50;
  } Capabilities;
  USHORT ObsoleteWords51[2];
  USHORT TranslationFieldsValid : 3;
  USHORT Reserved3 : 5;
  USHORT FreeFallControlSensitivity : 8;
  USHORT NumberOfCurrentCylinders;
  USHORT NumberOfCurrentHeads;
  USHORT CurrentSectorsPerTrack;
  ULONG  CurrentSectorCapacity;
  UCHAR  CurrentMultiSectorSetting;
  UCHAR  MultiSectorSettingValid : 1;
  UCHAR  ReservedByte59 : 3;
  UCHAR  SanitizeFeatureSupported : 1;
  UCHAR  CryptoScrambleExtCommandSupported : 1;
  UCHAR  OverwriteExtCommandSupported : 1;
  UCHAR  BlockEraseExtCommandSupported : 1;
  ULONG  UserAddressableSectors;
  USHORT ObsoleteWord62;
  USHORT MultiWordDMASupport : 8;
  USHORT MultiWordDMAActive : 8;
  USHORT AdvancedPIOModes : 8;
  USHORT ReservedByte64 : 8;
  USHORT MinimumMWXferCycleTime;
  USHORT RecommendedMWXferCycleTime;
  USHORT MinimumPIOCycleTime;
  USHORT MinimumPIOCycleTimeIORDY;
  struct {
    USHORT ZonedCapabilities : 2;
    USHORT NonVolatileWriteCache : 1;
    USHORT ExtendedUserAddressableSectorsSupported : 1;
    USHORT DeviceEncryptsAllUserData : 1;
    USHORT ReadZeroAfterTrimSupported : 1;
    USHORT Optional28BitCommandsSupported : 1;
    USHORT IEEE1667 : 1;
    USHORT DownloadMicrocodeDmaSupported : 1;
    USHORT SetMaxSetPasswordUnlockDmaSupported : 1;
    USHORT WriteBufferDmaSupported : 1;
    USHORT ReadBufferDmaSupported : 1;
    USHORT DeviceConfigIdentifySetDmaSupported : 1;
    USHORT LPSAERCSupported : 1;
    USHORT DeterministicReadAfterTrimSupported : 1;
    USHORT CFastSpecSupported : 1;
  } AdditionalSupported;
  USHORT ReservedWords70[5];
  USHORT QueueDepth : 5;
  USHORT ReservedWord75 : 11;
  struct {
    USHORT Reserved0 : 1;
    USHORT SataGen1 : 1;
    USHORT SataGen2 : 1;
    USHORT SataGen3 : 1;
    USHORT Reserved1 : 4;
    USHORT NCQ : 1;
    USHORT HIPM : 1;
    USHORT PhyEvents : 1;
    USHORT NcqUnload : 1;
    USHORT NcqPriority : 1;
    USHORT HostAutoPS : 1;
    USHORT DeviceAutoPS : 1;
    USHORT ReadLogDMA : 1;
    USHORT Reserved2 : 1;
    USHORT CurrentSpeed : 3;
    USHORT NcqStreaming : 1;
    USHORT NcqQueueMgmt : 1;
    USHORT NcqReceiveSend : 1;
    USHORT DEVSLPtoReducedPwrState : 1;
    USHORT Reserved3 : 8;
  } SerialAtaCapabilities;
  struct {
    USHORT Reserved0 : 1;
    USHORT NonZeroOffsets : 1;
    USHORT DmaSetupAutoActivate : 1;
    USHORT DIPM : 1;
    USHORT InOrderData : 1;
    USHORT HardwareFeatureControl : 1;
    USHORT SoftwareSettingsPreservation : 1;
    USHORT NCQAutosense : 1;
    USHORT DEVSLP : 1;
    USHORT HybridInformation : 1;
    USHORT Reserved1 : 6;
  } SerialAtaFeaturesSupported;
  struct {
    USHORT Reserved0 : 1;
    USHORT NonZeroOffsets : 1;
    USHORT DmaSetupAutoActivate : 1;
    USHORT DIPM : 1;
    USHORT InOrderData : 1;
    USHORT HardwareFeatureControl : 1;
    USHORT SoftwareSettingsPreservation : 1;
    USHORT DeviceAutoPS : 1;
    USHORT DEVSLP : 1;
    USHORT HybridInformation : 1;
    USHORT Reserved1 : 6;
  } SerialAtaFeaturesEnabled;
  USHORT MajorRevision;
  USHORT MinorRevision;
  struct {
    USHORT SmartCommands : 1;
    USHORT SecurityMode : 1;
    USHORT RemovableMediaFeature : 1;
    USHORT PowerManagement : 1;
    USHORT Reserved1 : 1;
    USHORT WriteCache : 1;
    USHORT LookAhead : 1;
    USHORT ReleaseInterrupt : 1;
    USHORT ServiceInterrupt : 1;
    USHORT DeviceReset : 1;
    USHORT HostProtectedArea : 1;
    USHORT Obsolete1 : 1;
    USHORT WriteBuffer : 1;
    USHORT ReadBuffer : 1;
    USHORT Nop : 1;
    USHORT Obsolete2 : 1;
    USHORT DownloadMicrocode : 1;
    USHORT DmaQueued : 1;
    USHORT Cfa : 1;
    USHORT AdvancedPm : 1;
    USHORT Msn : 1;
    USHORT PowerUpInStandby : 1;
    USHORT ManualPowerUp : 1;
    USHORT Reserved2 : 1;
    USHORT SetMax : 1;
    USHORT Acoustics : 1;
    USHORT BigLba : 1;
    USHORT DeviceConfigOverlay : 1;
    USHORT FlushCache : 1;
    USHORT FlushCacheExt : 1;
    USHORT WordValid83 : 2;
    USHORT SmartErrorLog : 1;
    USHORT SmartSelfTest : 1;
    USHORT MediaSerialNumber : 1;
    USHORT MediaCardPassThrough : 1;
    USHORT StreamingFeature : 1;
    USHORT GpLogging : 1;
    USHORT WriteFua : 1;
    USHORT WriteQueuedFua : 1;
    USHORT WWN64Bit : 1;
    USHORT URGReadStream : 1;
    USHORT URGWriteStream : 1;
    USHORT ReservedForTechReport : 2;
    USHORT IdleWithUnloadFeature : 1;
    USHORT WordValid : 2;
  } CommandSetSupport;
  struct {
    USHORT SmartCommands : 1;
    USHORT SecurityMode : 1;
    USHORT RemovableMediaFeature : 1;
    USHORT PowerManagement : 1;
    USHORT Reserved1 : 1;
    USHORT WriteCache : 1;
    USHORT LookAhead : 1;
    USHORT ReleaseInterrupt : 1;
    USHORT ServiceInterrupt : 1;
    USHORT DeviceReset : 1;
    USHORT HostProtectedArea : 1;
    USHORT Obsolete1 : 1;
    USHORT WriteBuffer : 1;
    USHORT ReadBuffer : 1;
    USHORT Nop : 1;
    USHORT Obsolete2 : 1;
    USHORT DownloadMicrocode : 1;
    USHORT DmaQueued : 1;
    USHORT Cfa : 1;
    USHORT AdvancedPm : 1;
    USHORT Msn : 1;
    USHORT PowerUpInStandby : 1;
    USHORT ManualPowerUp : 1;
    USHORT Reserved2 : 1;
    USHORT SetMax : 1;
    USHORT Acoustics : 1;
    USHORT BigLba : 1;
    USHORT DeviceConfigOverlay : 1;
    USHORT FlushCache : 1;
    USHORT FlushCacheExt : 1;
    USHORT Resrved3 : 1;
    USHORT Words119_120Valid : 1;
    USHORT SmartErrorLog : 1;
    USHORT SmartSelfTest : 1;
    USHORT MediaSerialNumber : 1;
    USHORT MediaCardPassThrough : 1;
    USHORT StreamingFeature : 1;
    USHORT GpLogging : 1;
    USHORT WriteFua : 1;
    USHORT WriteQueuedFua : 1;
    USHORT WWN64Bit : 1;
    USHORT URGReadStream : 1;
    USHORT URGWriteStream : 1;
    USHORT ReservedForTechReport : 2;
    USHORT IdleWithUnloadFeature : 1;
    USHORT Reserved4 : 2;
  } CommandSetActive;
  USHORT UltraDMASupport : 8;
  USHORT UltraDMAActive : 8;
  struct {
    USHORT TimeRequired : 15;
    USHORT ExtendedTimeReported : 1;
  } NormalSecurityEraseUnit;
  struct {
    USHORT TimeRequired : 15;
    USHORT ExtendedTimeReported : 1;
  } EnhancedSecurityEraseUnit;
  USHORT CurrentAPMLevel : 8;
  USHORT ReservedWord91 : 8;
  USHORT MasterPasswordID;
  USHORT HardwareResetResult;
  USHORT CurrentAcousticValue : 8;
  USHORT RecommendedAcousticValue : 8;
  USHORT StreamMinRequestSize;
  USHORT StreamingTransferTimeDMA;
  USHORT StreamingAccessLatencyDMAPIO;
  ULONG  StreamingPerfGranularity;
  ULONG  Max48BitLBA[2];
  USHORT StreamingTransferTime;
  USHORT DsmCap;
  struct {
    USHORT LogicalSectorsPerPhysicalSector : 4;
    USHORT Reserved0 : 8;
    USHORT LogicalSectorLongerThan256Words : 1;
    USHORT MultipleLogicalSectorsPerPhysicalSector : 1;
    USHORT Reserved1 : 2;
  } PhysicalLogicalSectorSize;
  USHORT InterSeekDelay;
  USHORT WorldWideName[4];
  USHORT ReservedForWorldWideName128[4];
  USHORT ReservedForTlcTechnicalReport;
  USHORT WordsPerLogicalSector[2];
  struct {
    USHORT ReservedForDrqTechnicalReport : 1;
    USHORT WriteReadVerify : 1;
    USHORT WriteUncorrectableExt : 1;
    USHORT ReadWriteLogDmaExt : 1;
    USHORT DownloadMicrocodeMode3 : 1;
    USHORT FreefallControl : 1;
    USHORT SenseDataReporting : 1;
    USHORT ExtendedPowerConditions : 1;
    USHORT Reserved0 : 6;
    USHORT WordValid : 2;
  } CommandSetSupportExt;
  struct {
    USHORT ReservedForDrqTechnicalReport : 1;
    USHORT WriteReadVerify : 1;
    USHORT WriteUncorrectableExt : 1;
    USHORT ReadWriteLogDmaExt : 1;
    USHORT DownloadMicrocodeMode3 : 1;
    USHORT FreefallControl : 1;
    USHORT SenseDataReporting : 1;
    USHORT ExtendedPowerConditions : 1;
    USHORT Reserved0 : 6;
    USHORT Reserved1 : 2;
  } CommandSetActiveExt;
  USHORT ReservedForExpandedSupportandActive[6];
  USHORT MsnSupport : 2;
  USHORT ReservedWord127 : 14;
  struct {
    USHORT SecuritySupported : 1;
    USHORT SecurityEnabled : 1;
    USHORT SecurityLocked : 1;
    USHORT SecurityFrozen : 1;
    USHORT SecurityCountExpired : 1;
    USHORT EnhancedSecurityEraseSupported : 1;
    USHORT Reserved0 : 2;
    USHORT SecurityLevel : 1;
    USHORT Reserved1 : 7;
  } SecurityStatus;
  USHORT ReservedWord129[31];
  struct {
    USHORT MaximumCurrentInMA : 12;
    USHORT CfaPowerMode1Disabled : 1;
    USHORT CfaPowerMode1Required : 1;
    USHORT Reserved0 : 1;
    USHORT Word160Supported : 1;
  } CfaPowerMode1;
  USHORT ReservedForCfaWord161[7];
  USHORT NominalFormFactor : 4;
  USHORT ReservedWord168 : 12;
  struct {
    USHORT SupportsTrim : 1;
    USHORT Reserved0 : 15;
  } DataSetManagementFeature;
  USHORT AdditionalProductID[4];
  USHORT ReservedForCfaWord174[2];
  USHORT CurrentMediaSerialNumber[30];
  struct {
    USHORT Supported : 1;
    USHORT Reserved0 : 1;
    USHORT WriteSameSuported : 1;
    USHORT ErrorRecoveryControlSupported : 1;
    USHORT FeatureControlSuported : 1;
    USHORT DataTablesSuported : 1;
    USHORT Reserved1 : 6;
    USHORT VendorSpecific : 4;
  } SCTCommandTransport;
  USHORT ReservedWord207[2];
  struct {
    USHORT AlignmentOfLogicalWithinPhysical : 14;
    USHORT Word209Supported : 1;
    USHORT Reserved0 : 1;
  } BlockAlignment;
  USHORT WriteReadVerifySectorCountMode3Only[2];
  USHORT WriteReadVerifySectorCountMode2Only[2];
  struct {
    USHORT NVCachePowerModeEnabled : 1;
    USHORT Reserved0 : 3;
    USHORT NVCacheFeatureSetEnabled : 1;
    USHORT Reserved1 : 3;
    USHORT NVCachePowerModeVersion : 4;
    USHORT NVCacheFeatureSetVersion : 4;
  } NVCacheCapabilities;
  USHORT NVCacheSizeLSW;
  USHORT NVCacheSizeMSW;
  USHORT NominalMediaRotationRate;
  USHORT ReservedWord218;
  struct {
    UCHAR NVCacheEstimatedTimeToSpinUpInSeconds;
    UCHAR Reserved;
  } NVCacheOptions;
  USHORT WriteReadVerifySectorCountMode : 8;
  USHORT ReservedWord220 : 8;
  USHORT ReservedWord221;
  struct {
    USHORT MajorVersion : 12;
    USHORT TransportType : 4;
  } TransportMajorVersion;
  USHORT TransportMinorVersion;
  USHORT ReservedWord224[6];
  ULONG  ExtendedNumberOfUserAddressableSectors[2];
  USHORT MinBlocksPerDownloadMicrocodeMode03;
  USHORT MaxBlocksPerDownloadMicrocodeMode03;
  USHORT ReservedWord236[19];
  USHORT Signature : 8;
  USHORT CheckSum : 8;
} IDENTIFY_DEVICE_DATA, *PIDENTIFY_DEVICE_DATA;

成员

GeneralConfiguration

包含常规配置信息。

GeneralConfiguration.Reserved1

保留。

GeneralConfiguration.Retired3

不再使用此成员。

GeneralConfiguration.ResponseIncomplete

指示响应不完整。

GeneralConfiguration.Retired2

不再使用此成员。

GeneralConfiguration.FixedDevice

指示当设置为 1 时设备是固定的。

GeneralConfiguration.RemovableMedia

指示当设置为 1 时媒体是可移动的。

GeneralConfiguration.Retired1

不再使用此成员。

GeneralConfiguration.DeviceType

指示当设置为 1 时设备是 ATA 设备。

NumCylinders

指示设备上的圆柱数。

SpecificConfiguration

特定配置。

NumHeads

设备上的逻辑头数。

Retired1[2]

不再使用此成员。

NumSectorsPerTrack

指示每个轨道的扇区数。

VendorUnique1[3]

包含设备供应商的第一个 ID。

SerialNumber[20]

包含设备的序列号。

Retired2[2]

不再使用此成员。

Obsolete1

此成员已过时。 请勿使用。

FirmwareRevision[8]

包含设备固件的修订号。

ModelNumber[40]

包含设备的型号。

MaximumBlockTransfer

包含单个传输中允许的最大块数。

VendorUnique2

包含设备供应商的第二个 ID。

TrustedComputing

受信任的计算。

TrustedComputing.FeatureSupported

指示设备是否支持受信任的计算。

TrustedComputing.Reserved

保留。

Capabilities

能力。

Capabilities.CurrentLongPhysicalSectorAlignment

当前长物理扇区对齐方式。

Capabilities.ReservedByte49

保留。

Capabilities.DmaSupported

指示设备支持 DMA 操作。

Capabilities.LbaSupported

指示设备支持逻辑块寻址。

Capabilities.IordyDisable

指示当设置为 1 时,为设备禁用 I/O 通道就绪。

Capabilities.IordySupported

指示当设置为 1 时,设备支持 I/O 通道就绪。

Capabilities.Reserved1

保留。

Capabilities.StandybyTimerSupport

指示当设置为 1 时设备支持备用计时器。

Capabilities.Reserved2

保留。

Capabilities.ReservedWord50

保留。

ObsoleteWords51[2]

此成员已过时。 请勿使用。

TranslationFieldsValid

包含一个位域,其位指示标识数据包中的哪个字节包含有效的地址转换信息。 有关如何定义此位域的详细信息,请参阅 ATA/ATAPI 规范

Reserved3

保留。

FreeFallControlSensitivity

自由落地控制敏感度。

NumberOfCurrentCylinders

指示设备上的圆柱数。

NumberOfCurrentHeads

指示设备上的头数。

CurrentSectorsPerTrack

指示每个轨道的扇区数。

CurrentSectorCapacity

指示设备上的扇区数。

CurrentMultiSectorSetting

指示多sector 设置。

MultiSectorSettingValid

指示当多组设置有效时 为 TRUE

ReservedByte59

保留。

SanitizeFeatureSupported

指示设备是否支持清理。

CryptoScrambleExtCommandSupported

指示设备是否支持加密乱码命令。

OverwriteExtCommandSupported

指示设备是否支持 overwrite 命令。

BlockEraseExtCommandSupported

指示设备是否支持块擦除。

UserAddressableSectors

指示用户可寻址扇区总数。

ObsoleteWord62

此成员已过时。 请勿使用。

MultiWordDMASupport

指示设备支持的 DMA 模式。

MultiWordDMAActive

指示当前选择了哪些 DMA 模式。

AdvancedPIOModes

指示 PIO 模式支持。

ReservedByte64

保留。

MinimumMWXferCycleTime

指示每个单词的最小多字 DMA 传输周期时间。

RecommendedMWXferCycleTime

指示每个字的建议多字 DMA 传输周期时间。

MinimumPIOCycleTime

指示不带流控制的最小 PIO 传输周期时间。

MinimumPIOCycleTimeIORDY

指示 IORDY 流控制的最小 PIO 传输周期时间。

AdditionalSupported

AdditionalSupported.ZonedCapabilities

AdditionalSupported.NonVolatileWriteCache

AdditionalSupported.ExtendedUserAddressableSectorsSupported

AdditionalSupported.DeviceEncryptsAllUserData

AdditionalSupported.ReadZeroAfterTrimSupported

AdditionalSupported.Optional28BitCommandsSupported

AdditionalSupported.IEEE1667

AdditionalSupported.DownloadMicrocodeDmaSupported

AdditionalSupported.SetMaxSetPasswordUnlockDmaSupported

AdditionalSupported.WriteBufferDmaSupported

AdditionalSupported.ReadBufferDmaSupported

AdditionalSupported.DeviceConfigIdentifySetDmaSupported

AdditionalSupported.LPSAERCSupported

AdditionalSupported.DeterministicReadAfterTrimSupported

AdditionalSupported.CFastSpecSupported

ReservedWords70[5]

QueueDepth

指示最大队列深度。

ReservedWord75

保留。

SerialAtaCapabilities

SerialAtaCapabilities.Reserved0

SerialAtaCapabilities.SataGen1

SerialAtaCapabilities.SataGen2

SerialAtaCapabilities.SataGen3

SerialAtaCapabilities.Reserved1

SerialAtaCapabilities.NCQ

SerialAtaCapabilities.HIPM

SerialAtaCapabilities.PhyEvents

SerialAtaCapabilities.NcqUnload

SerialAtaCapabilities.NcqPriority

SerialAtaCapabilities.HostAutoPS

SerialAtaCapabilities.DeviceAutoPS

SerialAtaCapabilities.ReadLogDMA

SerialAtaCapabilities.Reserved2

SerialAtaCapabilities.CurrentSpeed

SerialAtaCapabilities.NcqStreaming

SerialAtaCapabilities.NcqQueueMgmt

SerialAtaCapabilities.NcqReceiveSend

SerialAtaCapabilities.DEVSLPtoReducedPwrState

SerialAtaCapabilities.Reserved3

SerialAtaFeaturesSupported

SerialAtaFeaturesSupported.Reserved0

SerialAtaFeaturesSupported.NonZeroOffsets

SerialAtaFeaturesSupported.DmaSetupAutoActivate

SerialAtaFeaturesSupported.DIPM

SerialAtaFeaturesSupported.InOrderData

SerialAtaFeaturesSupported.HardwareFeatureControl

SerialAtaFeaturesSupported.SoftwareSettingsPreservation

SerialAtaFeaturesSupported.NCQAutosense

SerialAtaFeaturesSupported.DEVSLP

SerialAtaFeaturesSupported.HybridInformation

SerialAtaFeaturesSupported.Reserved1

SerialAtaFeaturesEnabled

SerialAtaFeaturesEnabled.Reserved0

SerialAtaFeaturesEnabled.NonZeroOffsets

SerialAtaFeaturesEnabled.DmaSetupAutoActivate

SerialAtaFeaturesEnabled.DIPM

SerialAtaFeaturesEnabled.InOrderData

SerialAtaFeaturesEnabled.HardwareFeatureControl

SerialAtaFeaturesEnabled.SoftwareSettingsPreservation

SerialAtaFeaturesEnabled.DeviceAutoPS

SerialAtaFeaturesEnabled.DEVSLP

SerialAtaFeaturesEnabled.HybridInformation

SerialAtaFeaturesEnabled.Reserved1

MajorRevision

指示设备的主要修订号。

MinorRevision

指示设备的次要修订号。

CommandSetSupport

Resrved3

保留。

CommandSetSupport.SmartCommands

指示设备支持 SMART 功能集时 为 TRUE

CommandSetSupport.SecurityMode

指示设备支持安全模式功能集时 为 TRUE

CommandSetSupport.RemovableMediaFeature

CommandSetSupport.PowerManagement

指示设备支持强制电源管理功能集时 为 TRUE

CommandSetSupport.Reserved1

保留。

CommandSetSupport.WriteCache

指示设备支持写入缓存时 为 TRUE

CommandSetSupport.LookAhead

指示当设备支持 lookahead 时 为 TRUE

CommandSetSupport.ReleaseInterrupt

指示设备支持释放中断时 为 TRUE

CommandSetSupport.ServiceInterrupt

指示设备支持服务中断时 为 TRUE

CommandSetSupport.DeviceReset

指示设备支持设备重置命令时 为 TRUE

CommandSetSupport.HostProtectedArea

指示设备支持主机保护区功能集时 为 TRUE

CommandSetSupport.Obsolete1

此成员已过时。 请勿使用。

CommandSetSupport.WriteBuffer

指示设备支持写入缓冲区命令时 为 TRUE

CommandSetSupport.ReadBuffer

指示设备支持读取缓冲区命令时 为 TRUE

CommandSetSupport.Nop

指示设备支持 NOP 命令时 为 TRUE

CommandSetSupport.Obsolete2

已过时。 请勿使用。

CommandSetSupport.DownloadMicrocode

指示当设备支持 DOWNLOAD MICROCODE 命令时 为 TRUE

CommandSetSupport.DmaQueued

指示设备何时为 TRUE 支持读/写 DMA QUEUED 命令。

CommandSetSupport.Cfa

指示设备何时为 TRUE 支持 CFA 功能集。

CommandSetSupport.AdvancedPm

指示设备何时为 TRUE 支持高级电源管理功能集。

CommandSetSupport.Msn

指示设备何时支持媒体状态通知功能集 为 TRUE

CommandSetSupport.PowerUpInStandby

指示 设备何时支持 待机功能集的启动。

CommandSetSupport.ManualPowerUp

指示设备何时 为 TRUE 支持启动设备后启动设备所需的 SET FEATURES 子命令。

CommandSetSupport.Reserved2

保留。

CommandSetSupport.SetMax

指示设备何时为 TRUE 支持 SET MAX 安全扩展命令。

CommandSetSupport.Acoustics

指示设备何时为 TRUE 支持自动声学管理功能集。

CommandSetSupport.BigLba

指示设备何时为 TRUE 支持 48 位地址功能集。

CommandSetSupport.DeviceConfigOverlay

CommandSetSupport.FlushCache

CommandSetSupport.FlushCacheExt

CommandSetSupport.WordValid83

CommandSetSupport.SmartErrorLog

CommandSetSupport.SmartSelfTest

CommandSetSupport.MediaSerialNumber

CommandSetSupport.MediaCardPassThrough

CommandSetSupport.StreamingFeature

CommandSetSupport.GpLogging

CommandSetSupport.WriteFua

CommandSetSupport.WriteQueuedFua

CommandSetSupport.WWN64Bit

CommandSetSupport.URGReadStream

CommandSetSupport.URGWriteStream

CommandSetSupport.ReservedForTechReport

CommandSetSupport.IdleWithUnloadFeature

CommandSetSupport.WordValid

CommandSetActive

CommandSetActive.SmartCommands

指示设备何时为 TRUE 支持 SMART 功能集。

CommandSetActive.SecurityMode

指示设备何时为 TRUE 支持安全模式功能集。

CommandSetActive.RemovableMediaFeature

CommandSetActive.PowerManagement

指示设备何时为 TRUE 支持必需的电源管理功能集。

CommandSetActive.Reserved1

保留。

CommandSetActive.WriteCache

指示设备何时为 TRUE 支持写入缓存。

CommandSetActive.LookAhead

指示设备何时为 TRUE 支持 lookahead。

CommandSetActive.ReleaseInterrupt

指示设备何时为 TRUE 支持释放中断。

CommandSetActive.ServiceInterrupt

指示设备何时支持服务中断 的 TRUE

CommandSetActive.DeviceReset

指示设备何时 为 TRUE 支持设备重置命令。

CommandSetActive.HostProtectedArea

指示设备何时为 TRUE 支持主机保护区功能集。

CommandSetActive.Obsolete1

此成员已过时。 请勿使用。

CommandSetActive.WriteBuffer

指示设备何时为 TRUE 支持写入缓冲区命令。

CommandSetActive.ReadBuffer

指示设备何时为 TRUE 支持读取缓冲区命令。

CommandSetActive.Nop

指示设备何时为 TRUE 支持 NOP 命令。

CommandSetActive.Obsolete2

已过时。 请勿使用。

CommandSetActive.DownloadMicrocode

指示设备何时为 TRUE 支持 DOWNLOAD MICROCODE 命令。

CommandSetActive.DmaQueued

指示设备何时为 TRUE 支持读/写 DMA QUEUED 命令。

CommandSetActive.Cfa

指示设备何时为 TRUE 支持 CFA 功能集。

CommandSetActive.AdvancedPm

指示设备何时为 TRUE 支持高级电源管理功能集。

CommandSetActive.Msn

指示设备何时支持媒体状态通知功能集 为 TRUE

CommandSetActive.PowerUpInStandby

指示 设备何时支持 待机功能集的启动。

CommandSetActive.ManualPowerUp

指示设备何时 为 TRUE 支持启动设备后启动设备所需的 SET FEATURES 子命令。

CommandSetActive.Reserved2

保留。

CommandSetActive.SetMax

指示设备何时为 TRUE 支持 SET MAX 安全扩展命令。

CommandSetActive.Acoustics

指示设备何时为 TRUE 支持自动声学管理功能集。

CommandSetActive.BigLba

指示设备何时为 TRUE 支持 48 位地址功能集。

CommandSetActive.DeviceConfigOverlay

CommandSetActive.FlushCache

CommandSetActive.FlushCacheExt

CommandSetActive.Resrved3

保留。

CommandSetActive.Words119_120Valid

CommandSetActive.SmartErrorLog

CommandSetActive.SmartSelfTest

CommandSetActive.MediaSerialNumber

CommandSetActive.MediaCardPassThrough

CommandSetActive.StreamingFeature

CommandSetActive.GpLogging

CommandSetActive.WriteFua

CommandSetActive.WriteQueuedFua

CommandSetActive.WWN64Bit

CommandSetActive.URGReadStream

CommandSetActive.URGWriteStream

CommandSetActive.ReservedForTechReport

CommandSetActive.IdleWithUnloadFeature

CommandSetActive.Reserved4

UltraDMASupport

包含一个位图,指示设备支持的 ultraDMA 模式。

UltraDMAActive

包含一个位图,指示选择了哪些 ultraDMA 模式。

NormalSecurityEraseUnit

NormalSecurityEraseUnit.TimeRequired

NormalSecurityEraseUnit.ExtendedTimeReported

EnhancedSecurityEraseUnit

EnhancedSecurityEraseUnit.TimeRequired

EnhancedSecurityEraseUnit.ExtendedTimeReported

CurrentAPMLevel

ReservedWord91

MasterPasswordID

HardwareResetResult

指示硬件重置的结果。 有关分配给此成员的值的详细信息,请参阅 ATA/ATAP 规范

CurrentAcousticValue

指示当前声学管理值。

RecommendedAcousticValue

包含设备供应商建议的声学管理值。

StreamMinRequestSize

StreamingTransferTimeDMA

StreamingAccessLatencyDMAPIO

StreamingPerfGranularity

Max48BitLBA[2]

包含 48 位地址功能集的最大用户 LBA。

StreamingTransferTime

DsmCap

PhysicalLogicalSectorSize

PhysicalLogicalSectorSize.LogicalSectorsPerPhysicalSector

PhysicalLogicalSectorSize.Reserved0

PhysicalLogicalSectorSize.LogicalSectorLongerThan256Words

PhysicalLogicalSectorSize.MultipleLogicalSectorsPerPhysicalSector

PhysicalLogicalSectorSize.Reserved1

保留。

InterSeekDelay

WorldWideName[4]

ReservedForWorldWideName128[4]

ReservedForTlcTechnicalReport

WordsPerLogicalSector[2]

CommandSetSupportExt

Reserved1

保留。

CommandSetSupportExt.ReservedForDrqTechnicalReport

CommandSetSupportExt.WriteReadVerify

CommandSetSupportExt.WriteUncorrectableExt

CommandSetSupportExt.ReadWriteLogDmaExt

CommandSetSupportExt.DownloadMicrocodeMode3

CommandSetSupportExt.FreefallControl

CommandSetSupportExt.SenseDataReporting

CommandSetSupportExt.ExtendedPowerConditions

CommandSetSupportExt.Reserved0

CommandSetSupportExt.WordValid

CommandSetActiveExt

CommandSetActiveExt.ReservedForDrqTechnicalReport

CommandSetActiveExt.WriteReadVerify

CommandSetActiveExt.WriteUncorrectableExt

CommandSetActiveExt.ReadWriteLogDmaExt

CommandSetActiveExt.DownloadMicrocodeMode3

CommandSetActiveExt.FreefallControl

CommandSetActiveExt.SenseDataReporting

CommandSetActiveExt.ExtendedPowerConditions

CommandSetActiveExt.Reserved0

CommandSetActiveExt.Reserved1

保留。

ReservedForExpandedSupportandActive[6]

MsnSupport

指示设备支持媒体状态通知的 TRUE

ReservedWord127

SecurityStatus

包含指示安全状态的位图。 有关每个单独位的含义的详细信息,请参阅 ATA/ATAPI 规范

SecurityStatus.SecuritySupported

SecurityStatus.SecurityEnabled

SecurityStatus.SecurityLocked

SecurityStatus.SecurityFrozen

SecurityStatus.SecurityCountExpired

SecurityStatus.EnhancedSecurityEraseSupported

SecurityStatus.Reserved0

SecurityStatus.SecurityLevel

SecurityStatus.Reserved1

保留。

ReservedWord129[31]

保留。

CfaPowerMode1

CfaPowerMode1.MaximumCurrentInMA

CfaPowerMode1.CfaPowerMode1Disabled

CfaPowerMode1.CfaPowerMode1Required

CfaPowerMode1.Reserved0

CfaPowerMode1.Word160Supported

ReservedForCfaWord161[7]

单词 161-168

NominalFormFactor

ReservedWord168

DataSetManagementFeature

DataSetManagementFeature.SupportsTrim

DataSetManagementFeature.Reserved0

AdditionalProductID[4]

ReservedForCfaWord174[2]

CurrentMediaSerialNumber[30]

单词 176-205

SCTCommandTransport

SCTCommandTransport.Supported

SCTCommandTransport.Reserved0

SCTCommandTransport.WriteSameSuported

SCTCommandTransport.ErrorRecoveryControlSupported

SCTCommandTransport.FeatureControlSuported

SCTCommandTransport.DataTablesSuported

SCTCommandTransport.Reserved1

SCTCommandTransport.VendorSpecific

ReservedWord207[2]

单词 207-208

BlockAlignment

BlockAlignment.AlignmentOfLogicalWithinPhysical

BlockAlignment.Word209Supported

BlockAlignment.Reserved0

WriteReadVerifySectorCountMode3Only[2]

字词 210-211

WriteReadVerifySectorCountMode2Only[2]

单词 212-213

NVCacheCapabilities

NVCacheCapabilities.NVCachePowerModeEnabled

NVCacheCapabilities.Reserved0

NVCacheCapabilities.NVCacheFeatureSetEnabled

NVCacheCapabilities.Reserved1

保留。

NVCacheCapabilities.NVCachePowerModeVersion

NVCacheCapabilities.NVCacheFeatureSetVersion

NVCacheSizeLSW

NVCacheSizeMSW

NominalMediaRotationRate

ReservedWord218

NVCacheOptions

NVCacheOptions.NVCacheEstimatedTimeToSpinUpInSeconds

NVCacheOptions.Reserved

WriteReadVerifySectorCountMode

ReservedWord220

单词 220-254

ReservedWord221

TransportMajorVersion

TransportMajorVersion.MajorVersion

TransportMajorVersion.TransportType

TransportMinorVersion

ReservedWord224[6]

ExtendedNumberOfUserAddressableSectors[2]

MinBlocksPerDownloadMicrocodeMode03

MaxBlocksPerDownloadMicrocodeMode03

ReservedWord236[19]

Signature

指示磁盘签名。

CheckSum

指示校验和。

要求

要求
Header ata.h (包括 Irb.h)