diff options
author | Tejun Heo <htejun@gmail.com> | 2007-10-29 08:45:05 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-29 11:21:33 +0100 |
commit | 4fb4615bc9465e7098665fa9616b6ac1f495f895 (patch) | |
tree | fdd760b7dd485cb21ca5f6547e3db2335589aed0 /drivers/ata/sata_nv.c | |
parent | libata: relocate forcing PIO0 on reset (diff) | |
download | linux-4fb4615bc9465e7098665fa9616b6ac1f495f895.tar.xz linux-4fb4615bc9465e7098665fa9616b6ac1f495f895.zip |
libata: no need to speed down if already at PIO0
After reset, transfer mode is always PIO0 regardless of
dev->xfer_mask. Check dev->pio_mode before trying to slow down after
configuration failure. This prevents bogus speed down before device
is actually configured.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_nv.c')
0 files changed, 0 insertions, 0 deletions