MentOS
0.8.0
The Mentoring Operating System
|
IDENTIFY device data (response to 0xEC). More...
Public Attributes | |
struct { | |
uint16_t reserved1: 1 | |
Reserved. | |
uint16_t retired3: 1 | |
This member is no longer used. | |
uint16_t response_incomplete: 1 | |
Indicates that the response was incomplete. | |
uint16_t retired2: 3 | |
This member is no longer used. | |
uint16_t fixed_fevice: 1 | |
Indicates when set to 1 that the device is fixed. | |
uint16_t removable_media: 1 | |
Indicates when set to 1 that the media is removable. | |
uint16_t retired1: 7 | |
This member is no longer used. | |
uint16_t device_type: 1 | |
Indicates when set to 1 that the device is an ATA device. | |
} | general_configuration |
Word 0 : General configuration. | |
uint16_t | num_cylinders |
Indicates the number of cylinders on the device. | |
uint16_t | specific_configuration |
Specific configuration. | |
uint16_t | num_heads |
Number of logical heads on the device. | |
uint16_t | num_sectors_per_track |
Indicates the number of sectors per track. | |
uint16_t | vendor_unique1 [3] |
Contains the first ID of the device's vendor. | |
uint8_t | serial_number [20] |
Word 10-19 : Contains the serial number of the device. | |
uint16_t | unused2 [3] |
Word 20-22 : Unused. | |
uint8_t | firmware_revision [8] |
Word 23-26 : Contains the revision number of the device's firmware. | |
uint8_t | model_number [40] |
Word 27-46 : Contains the device's model number. | |
uint8_t | maximum_block_transfer |
Word 47 : Maximum number of sectors that shall be transferred per interrupt. | |
uint8_t | unused3 |
Word 48 : Unused. | |
struct { | |
uint8_t current_long_physical_sector_alignment: 2 | |
Unused. | |
uint8_t reserved_byte49: 6 | |
Reserved. | |
uint8_t dma_supported: 1 | |
Indicates that the device supports DMA operations. | |
uint8_t lba_supported: 1 | |
Indicates that the device supports logical block addressing. | |
uint8_t io_rdy_disable: 1 | |
Indicates when set to 1 that I/O channel ready is disabled for the device. | |
uint8_t io_rdy_supported: 1 | |
Indicates when set to 1 that I/O channel ready is supported by the device. | |
uint8_t reserved1: 1 | |
Reserved. | |
uint8_t stand_by_timer_support: 1 | |
Indicates when set to 1 that the device supports standby timers. | |
uint8_t reserved2: 2 | |
Reserved. | |
uint16_t reserved_word50 | |
Reserved. | |
} | capabilities |
Word 49-50 : | |
uint16_t | unused4 [2] |
Word 51-52 : Obsolete. | |
uint16_t | valid_ext_data |
Word 53 : Bit 0 = obsolete; Bit 1 = words 70:64 valid; bit 2 = word 88 valid. | |
uint16_t | unused5 [5] |
Word 54-58 : Obsolete. | |
uint8_t | current_multisector_setting |
Word 59 : Indicates the multisector setting. | |
uint8_t | multisector_setting_valid: 1 |
Indicates when TRUE that the multisector setting is valid. | |
uint8_t | reserved_byte59: 3 |
Reserved. | |
uint8_t | sanitize_feature_supported: 1 |
The device supports the sanitize command. | |
uint8_t | crypto_scramble_ext_command_supported: 1 |
The device supports cryptographic erase. | |
uint8_t | overwrite_ext_command_supported: 1 |
The device supports block overwrite. | |
uint8_t | block_erase_ext_command_supported: 1 |
The device supports block erase. | |
uint32_t | sectors_28 |
Word 60-61 : Contains the total number of 28 bit LBA addressable sectors on the drive. | |
uint16_t | unused6 [38] |
Word 62-99 : We do not care for these right now. | |
uint64_t | sectors_48 |
Word 100-103: Contains the total number of 48 bit addressable sectors on the drive. | |
uint16_t | unused7 [152] |
Word 104-256: We do not care for these right now. | |
IDENTIFY device data (response to 0xEC).