All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ata: Add defines for the iordy bits
@ 2007-02-05 16:17 Alan
  2007-02-07  0:46 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Alan @ 2007-02-05 16:17 UTC (permalink / raw)
  To: jeff, akpm, linux-ide

IORDY and IORDY enable/disable flags.

Signed-off-by: Alan Cox <alan@redhat.com>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-rc6-mm3/include/linux/ata.h linux-2.6.20-rc6-mm3/include/linux/ata.h
--- linux.vanilla-2.6.20-rc6-mm3/include/linux/ata.h	2007-01-31 14:20:43.000000000 +0000
+++ linux-2.6.20-rc6-mm3/include/linux/ata.h	2007-02-05 10:53:45.000000000 +0000
@@ -299,6 +300,8 @@
 #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)	\

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ata: Add defines for the iordy bits
  2007-02-05 16:17 [PATCH] ata: Add defines for the iordy bits Alan
@ 2007-02-07  0:46 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-02-07  0:46 UTC (permalink / raw)
  To: Alan; +Cc: akpm, linux-ide

Alan wrote:
> IORDY and IORDY enable/disable flags.
> 
> Signed-off-by: Alan Cox <alan@redhat.com>

applied


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-07  0:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-05 16:17 [PATCH] ata: Add defines for the iordy bits Alan
2007-02-07  0:46 ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.