]> git.baikalelectronics.ru Git - kernel.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)
commitc0fb2c882af83f37493288098a80c58ab17e3ebd
tree4c6a80d72a1af2c02ab28caa5b0978b0742d4619
parent2614b908c2fa47fe001388347eab108a5e024e0f
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