diff options
author | Tejun Heo <tj@kernel.org> | 2009-06-11 11:04:45 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-06-23 01:54:30 -0400 |
commit | 0d9e6659a1bde3733cfd0072adbb3514b579e383 (patch) | |
tree | 9af1e5a8712fe02216ea52ef740f86ead5085acd /security | |
parent | dc77ad4c8727d3a1c23eadcb287501dab480d634 (diff) |
libata: don't set IORDY for reset
Before issuing reset, libata configures xfermode to PIO0 which makes
some drivers turn on IORDY which may cause the controller to lock up
if the port is not occupied. IORDY isn't necessary at this point
anyway. Make ata_pio_need_iordy() return zero if it's being called
for reset.
This fixes bko#11703. Reported and tracked down by Daniel Gnoutcheff
and Constantine Gavrilov.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Daniel Gnoutcheff <gnoutchd@union.edu>
Cc: Constantine Gavrilov <constantine.gavrilov@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions