beautypg.com

Ata command timeout recovery definition, Block descriptor type definition, Busconditionenum – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 853: Bus condition definition

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

ATA Command Timeout Recovery definition 853

ATA Command Timeout Recovery definition

typedef enum {

ATACOMMAND_TIMEOUT_RECOVERY_DO_NOTHING

= 0x00,

ATACOMMAND_TIMEOUT_RECOVERY_SEND_SOFT_RESET

= 0x01,

ATACOMMAND_TIMEOUT_RECOVERY_HARD_RESET

= 0x02,

} ATACommandTimeoutRecoveryEnum;

ATA Device Emul Error and Status Register definition

typedef enum {

TARGET_EMUL_ATA_ERROR_SATUS_REG_NO_ERROR

= 0x00,

TARGET_EMUL_ATA_ERROR_SATUS_REG_MEDIA_ERROR

= 0x01,

TARGET_EMUL_ATA_ERROR_SATUS_REG_NOMEDIA

= 0x02,

TARGET_EMUL_ATA_ERROR_SATUS_REG_ABORT

= 0x03,

TARGET_EMUL_ATA_ERROR_SATUS_REG_MCR

= 0x04,

TARGET_EMUL_ATA_ERROR_SATUS_REG_IDNF

= 0x05,

TARGET_EMUL_ATA_ERROR_SATUS_REG_MC

= 0x06,

TARGET_EMUL_ATA_ERROR_SATUS_REG_WP_UNC

= 0x07,

TARGET_EMUL_ATA_ERROR_SATUS_REG_ICRC

= 0x08,

TARGET_EMUL_ATA_ERROR_SATUS_REG_DF

= 0x09,

TARGET_EMUL_ATA_ERROR_SATUS_REG_DRDY

= 0x0A,

} ATADeviceEmulErrorStatusRegEnum;

Block Descriptor Type definition

typedef enum {

BLOCK_DESCRIPTOR_TYPE_GENERAL_MODE = 0,
BLOCK_DESCRIPTOR_TYPE_DIRECT_ACCESS_DEVICE_MODE,
BLOCK_DESCRIPTOR_TYPE_LONG_LBA_MODE,

} BlockDescriptorTypeEnum;