ata: Add error bits

Add notes for other bits that we don't use in the code for error
status. We report these when there's an error, and this allows people
decoding it to not have to chase down these bits from the standard.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh
2025-10-21 07:35:32 -06:00
parent 37ad1beaf5
commit e29f81c2ad
+3
View File
@@ -347,8 +347,11 @@ struct ata_params {
#define ATA_STATUS_BUSY 0x80
/* ATA Error Register */
/* COMMAND TIMEOUT 0x01 */
#define ATA_ERROR_ABORT 0x04
#define ATA_ERROR_ID_NOT_FOUND 0x10
/* UNCORRECTABLE ERROR 0x40 */
/* INTERFACE CRC 0x80 */
/* ATA HPA Features */
#define ATA_HPA_FEAT_MAX_ADDR 0x00