aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ata.h
diff options
context:
space:
mode:
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 a749f006387f..21f00a0646d8 100644
--- a/include/linux/ata.h
+++ b/include/linux/ata.h
@@ -353,7 +353,7 @@ struct ata_taskfile {
353#define ata_id_queue_depth(id) (((id)[75] & 0x1f) + 1) 353#define ata_id_queue_depth(id) (((id)[75] & 0x1f) + 1)
354#define ata_id_removeable(id) ((id)[0] & (1 << 7)) 354#define ata_id_removeable(id) ((id)[0] & (1 << 7))
355#define ata_id_has_dword_io(id) ((id)[48] & (1 << 0)) 355#define ata_id_has_dword_io(id) ((id)[48] & (1 << 0))
356#define ata_id_has_AN(id) \ 356#define ata_id_has_atapi_AN(id) \
357 ( (((id)[76] != 0x0000) && ((id)[76] != 0xffff)) && \ 357 ( (((id)[76] != 0x0000) && ((id)[76] != 0xffff)) && \
358 ((id)[78] & (1 << 5)) ) 358 ((id)[78] & (1 << 5)) )
359#define ata_id_iordy_disable(id) ((id)[49] & (1 << 10)) 359#define ata_id_iordy_disable(id) ((id)[49] & (1 << 10))