commit | 4fb4615bc9465e7098665fa9616b6ac1f495f895 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon Oct 29 16:45:05 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Oct 29 06:21:33 2007 -0400 |
tree | fdd760b7dd485cb21ca5f6547e3db2335589aed0 | |
parent | cdeab1140799f09c5f728a5ff85e0bdfa5679cd2 [diff] |
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>