ata.inc | |
Constants | |
ATA_DATA | Read/Write data |
ATA_ERROR | |
ATA_FEATURES | |
ATA_SECCOUNT | |
ATA_SECNUM | |
ATA_CYLLO | |
ATA_CYLHI | |
ATA_DRVHEAD | Drive/Head register |
ATA_COMMAND | |
ATA_CMD_RESTORE | Recalibrate |
ATA_CMD_DIAGNOSTIC | Execute device diagnostic |
ATA_CMD_IDENTIFY | |
ATA_STATUS | |
ATA_CTRL | Device control register (Control base + 0) |
ATA_DRVADDR | |
Functions | |
ata_wait | |
ata_select | |
ata_probe | |
ata_init |
┌────┬─────┬────┬───┬────┬──┬───┬───┐ │AMNF│TKZNF│ABRT│MCR│IDNF│MC│UNC│BBK│ └────┴─────┴────┴───┴────┴──┴───┴───┘ 7 6 5 4 3 2 1 0
AMNF | Address mark not found. |
TKZNF | Track zero not found. |
ABRT | Aborted command. |
MCR | Media change request. |
IDNF | ID not found. |
MC | Media changed |
UNC | Uncorrectable data error. |
BBK | Bad Block detected. |
ata_wait
ata_select
ata_probe
ata_init