Tejun Heo aa2731ad9a libata: separate out ata_wait_ready() and implement ata_wait_after_reset()
Factor out waiting logic (which is common to all ATA controllers) from
ata_sff_wait_ready() into ata_wait_ready().  ata_wait_ready() takes
@check_ready function pointer and uses it to poll for readiness.  This
allows non-SFF controllers to use ata_wait_ready() to wait for link
readiness.

This patch also implements ata_wait_after_reset() - generic version of
ata_sff_wait_after_reset() - using ata_wait_ready().

ata_sff_wait_ready() is reimplemented using ata_wait_ready() and
ata_sff_check_ready().  Functionality remains the same.

Signed-off-by: Tejun Heo <htejun@gmail.com>
2008-04-17 15:44:22 -04:00
..
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:22 -04:00
2008-01-23 05:24:15 -05:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:22 -04:00
2008-04-17 15:44:21 -04:00
2008-04-17 15:44:22 -04:00
2007-07-02 10:17:42 -04:00