libata: Correct IORDY handling
[deliverable/linux.git] / include / linux / ata.h
index c043c1ccf1c5098530bfef18941db54b716131b7..40c7af05fdb99261e3eaa1a5876c5e054a8b2818 100644 (file)
@@ -358,7 +358,7 @@ struct ata_taskfile {
 #define ata_id_removeable(id)  ((id)[0] & (1 << 7))
 #define ata_id_has_dword_io(id)        ((id)[50] & (1 << 0))
 #define ata_id_iordy_disable(id) ((id)[49] & (1 << 10))
-#define ata_id_has_iordy(id) ((id)[49] & (1 << 9))
+#define ata_id_has_iordy(id) ((id)[49] & (1 << 11))
 #define ata_id_u32(id,n)       \
        (((u32) (id)[(n) + 1] << 16) | ((u32) (id)[(n)]))
 #define ata_id_u64(id,n)       \
This page took 0.031171 seconds and 5 git commands to generate.