]> git.karo-electronics.de Git - mv-sheeva.git/commit
libata: IORDY handling
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 19 Nov 2007 14:33:11 +0000 (14:33 +0000)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:09 +0000 (05:24 -0500)
commitb9f8ab2dafba2dc12dd94e5d2db31d5cf495775f
tree4c6a80d72a1af2c02ab28caa5b0978b0742d4619
parentbd3adca52bc43b72c75db3e4c7809d47923b154c
libata: IORDY handling

I believe this version meets all Sergei's objections

Correct the logic for when we issue a set features for transfer mode

- If the device has IORDY and the controller has IORDY - set the mode
- If the device has IORDY and the controller does not - turn IORDY off
- If neither has IORDY do nothing

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c