From: Alan Date: Mon, 5 Feb 2007 16:17:19 +0000 (+0000) Subject: ata: Add defines for the iordy bits X-Git-Tag: v2.6.21-rc1~274^2~490 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=49554c19569c91d0943b67ca731c9abfc857883f;p=linux-2.6-omap-h63xx.git ata: Add defines for the iordy bits IORDY and IORDY enable/disable flags. Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik --- diff --git a/include/linux/ata.h b/include/linux/ata.h index 3a50739e25a..18e401ff7ea 100644 --- a/include/linux/ata.h +++ b/include/linux/ata.h @@ -299,6 +299,8 @@ struct ata_taskfile { #define ata_id_queue_depth(id) (((id)[75] & 0x1f) + 1) #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_u32(id,n) \ (((u32) (id)[(n) + 1] << 16) | ((u32) (id)[(n)])) #define ata_id_u64(id,n) \