diff options
author | Tejun Heo <tj@kernel.org> | 2008-10-26 15:43:03 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-10-27 23:55:40 -0400 |
commit | 90484ebfc96c5dc5c498ed72cf2d370575db9b76 (patch) | |
tree | 46ada261a4d318296bcbe08ac724fd32eb014a6d /drivers/ata/pata_it821x.c | |
parent | e8b3b5e9f54512bfdb7c154da07ec0408cbd6c56 (diff) | |
download | linux-90484ebfc96c5dc5c498ed72cf2d370575db9b76.tar.gz linux-90484ebfc96c5dc5c498ed72cf2d370575db9b76.tar.bz2 linux-90484ebfc96c5dc5c498ed72cf2d370575db9b76.zip |
libata: clear saved xfer_mode and ncq_enabled on device detach
libata EH saves xfer_mode and ncq_enabled at start to later set
DUBIOUS_XFER flag if it has changed. These values need to be cleared
on device detach such that hot device swap doesn't accidentally miss
DUBIOUS_XFER.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_it821x.c')
0 files changed, 0 insertions, 0 deletions