diff options
author | mav <mav@FreeBSD.org> | 2012-10-26 20:03:08 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-10-26 20:03:08 +0000 |
commit | cca98d66c9602102fa43b858538e520d0c3c1f06 (patch) | |
tree | 60b6260eac3a5401d19d36d10bfe65999c97ddc5 /sys/dev/ata/ata-all.h | |
parent | cdbf140d9201a4adc8cbbca3025d62118b5a7475 (diff) | |
download | FreeBSD-src-cca98d66c9602102fa43b858538e520d0c3c1f06.zip FreeBSD-src-cca98d66c9602102fa43b858538e520d0c3c1f06.tar.gz |
Implement CAM_ATAIO_NEEDRESULT (fetching full set of result registers) for
ata(4) driver in ATA_CAM mode. That slighty improves error reporting and
also should fix `smartctl -l scterc /dev/adaX` operation.
MFC after: 3 weeks
Diffstat (limited to 'sys/dev/ata/ata-all.h')
-rw-r--r-- | sys/dev/ata/ata-all.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h index 7154d56..3a6710c 100644 --- a/sys/dev/ata/ata-all.h +++ b/sys/dev/ata/ata-all.h @@ -397,6 +397,7 @@ struct ata_request { #define ATA_R_REQUEUE 0x00000400 #define ATA_R_THREAD 0x00000800 #define ATA_R_DIRECT 0x00001000 +#define ATA_R_NEEDRESULT 0x00002000 #define ATA_R_ATAPI16 0x00010000 #define ATA_R_ATAPI_INTR 0x00020000 |