aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ata_piix.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-08-30 14:20:01 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-09-29 00:29:06 -0400
commit11fc33da8d8413d6bfa5143f454dfcb998c27617 (patch)
treefb43a4954244cbbd84cb560dd1376d35ad90df84 /drivers/ata/ata_piix.c
parentata_piix: add Hercules EC-900 mini-notebook to ich_laptop short cable list (diff)
downloadlinux-dev-11fc33da8d8413d6bfa5143f454dfcb998c27617.tar.xz
linux-dev-11fc33da8d8413d6bfa5143f454dfcb998c27617.zip
libata-eh: clear UNIT ATTENTION after reset
Resets make ATAPI devices raise UNIT ATTENTION which fails the next command. As resets can happen asynchronously for unrelated reasons, this sometimes disrupts innocent users. For example, reading DVD fails after the system wakes up from suspend or the other device sharing the channel went through bus error. Clearing UA has some problems as it might clear UA which the userland needs to know about. However, UA after resets can only be about the reset itself and benefits of clearing it overweights cons. Missing UA can only delay failure to one of the following commands anyway. For example, timeout while burning is in progress will trigger reset and reset the device state and probably corrupt the burning run. Although the userland application won't get the UA, its pending writes will fail. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/ata_piix.c')
0 files changed, 0 insertions, 0 deletions