2.3 KiB
2.3 KiB
| 1 | register_name | enum_name | bits | bit_name | value | mask | description |
|---|---|---|---|---|---|---|---|
| 2 | status | 7 | bsy | ||||
| 3 | status | 6 | drdy | ||||
| 4 | status | 5 | df | ||||
| 5 | status | 4 | dsc | ||||
| 6 | status | 3 | drq | ||||
| 7 | status | 2 | corr | ||||
| 8 | status | 0 | check | ||||
| 9 | |||||||
| 10 | alternate_status | 7 | bsy | ||||
| 11 | alternate_status | 6 | drdy | ||||
| 12 | alternate_status | 5 | df | ||||
| 13 | alternate_status | 4 | dsc | ||||
| 14 | alternate_status | 3 | drq | ||||
| 15 | alternate_status | 2 | corr | ||||
| 16 | alternate_status | 0 | check | ||||
| 17 | |||||||
| 18 | command | code | 7-0 | soft_reset | 0x08 | ||
| 19 | command | code | 7-0 | execute_device_diagnostic | 0x90 | ||
| 20 | command | code | 7-0 | nop | 0x00 | ||
| 21 | command | code | 7-0 | packet_command | 0xa0 | ||
| 22 | command | code | 7-0 | identify_device | 0xa1 | ||
| 23 | command | code | 7-0 | set_features | 0xef | ||
| 24 | |||||||
| 25 | device_control | 3,0 | device_control | 0b1000 | |||
| 26 | device_control | 2 | srst | 1 | |||
| 27 | device_control | 1 | nien | 1 | |||
| 28 | |||||||
| 29 | drive_select | 7-4 | drive_select | 0b1010 | |||
| 30 | drive_select | 3-0 | lun | 0xf | |||
| 31 | |||||||
| 32 | error | 7-4 | sense_key | ||||
| 33 | error | 3 | mcr | ||||
| 34 | error | 2 | abrt | ||||
| 35 | error | 1 | eomf | ||||
| 36 | error | 0 | ili | ||||
| 37 | |||||||
| 38 | features | dma | 0 | disable | 0 | ||
| 39 | features | dma | 0 | enable | 1 | ||
| 40 | |||||||
| 41 | features_ata | set_clear | 7 | clear | 0 | ||
| 42 | features_ata | set_clear | 7 | set | 1 | ||
| 43 | features_ata | command | 6-0 | set_transfer_mode | 3 | ||
| 44 | |||||||
| 45 | interrupt_reason | 1 | io | ||||
| 46 | interrupt_reason | 0 | cod | ||||
| 47 | |||||||
| 48 | sector_count | transfer_mode | 7-0 | pio_default_transfer_mode | 0b00000000 | ||
| 49 | sector_count | transfer_mode | 7-0 | pio_flow_control_transfer_mode | 0b00001000 | ||
| 50 | sector_count | transfer_mode | 7-0 | single_word_dma_mode | 0b00010000 | ||
| 51 | sector_count | transfer_mode | 7-0 | multi_word_dma_mode | 0b00100000 | ||
| 52 | |||||||
| 53 | sector_number | 7-4 | disc_format | ||||
| 54 | sector_number | 3-0 | status | ||||
| 55 | |||||||
| 56 | error_ata | sense_key | 3-0 | no_sense | 0x0 | ||
| 57 | error_ata | sense_key | 3-0 | recovered_error | 0x1 | ||
| 58 | error_ata | sense_key | 3-0 | not_ready | 0x2 | ||
| 59 | error_ata | sense_key | 3-0 | medium_error | 0x3 | ||
| 60 | error_ata | sense_key | 3-0 | hardware_error | 0x4 | ||
| 61 | error_ata | sense_key | 3-0 | illegal_request | 0x5 | ||
| 62 | error_ata | sense_key | 3-0 | unit_attention | 0x6 | ||
| 63 | error_ata | sense_key | 3-0 | data_protect | 0x7 | ||
| 64 | error_ata | sense_key | 3-0 | aborted_command | 0xb |