summaryrefslogtreecommitdiff
path: root/include/linux/ata.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2015-03-27 16:46:33 +0100
committerTejun Heo <tj@kernel.org>2015-03-27 11:59:22 -0400
commit27f00e53af72702d3a9e6f75590e66fe04914149 (patch)
treebd3fa2052313ada98842cfeb43ae18dbbfb8bc28 /include/linux/ata.h
parent8ae720449fca4b1d0294c0a0204c0c45556a3e61 (diff)
downloadlwn-27f00e53af72702d3a9e6f75590e66fe04914149.tar.gz
lwn-27f00e53af72702d3a9e6f75590e66fe04914149.zip
ide,ata: Rename ATA_IDX to ATA_SENSE
ATA-8 defines bit 1 as 'ATA_SENSE', not 'ATA_IDX'. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/ata.h')
-rw-r--r--include/linux/ata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h
index 681520f8a3de..e3cb41c17ba7 100644
--- a/include/linux/ata.h
+++ b/include/linux/ata.h
@@ -177,7 +177,7 @@ enum {
ATA_DSC = (1 << 4), /* drive seek complete */
ATA_DRQ = (1 << 3), /* data request i/o */
ATA_CORR = (1 << 2), /* corrected data error */
- ATA_IDX = (1 << 1), /* index */
+ ATA_SENSE = (1 << 1), /* sense code available */
ATA_ERR = (1 << 0), /* have an error */
ATA_SRST = (1 << 2), /* software reset */
ATA_ICRC = (1 << 7), /* interface CRC error */