libata-core: Fix the iordy methods
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 8 Mar 2007 23:22:59 +0000 (23:22 +0000)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:15:58 +0000 (14:15 -0400)
commit432729f0b0c299ae9731aaa31beaa0dd3a9751eb
tree39a9cc9762136e2f049b6081637b6daf5fa1e882
parent04351821b43e6c0c91ad50d7e4be54a935f749e1
libata-core: Fix the iordy methods

This alone isn't sufficient to save the universe from prehistoric disks
and controllers but it is a first important step. Split off a separate
function to provide a mode filter when controller iordy is not available.

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