diff options
author | Tejun Heo <htejun@gmail.com> | 2007-07-16 14:29:41 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-20 08:26:25 -0400 |
commit | fccb6ea5c240b9f29baa55448488fd6aee49f5a5 (patch) | |
tree | d1c76e551ed15b58c9e10645a25b609b6ba398ee /drivers/ata/libata-scsi.c | |
parent | f8f1e1cc0cd4d75c73e9a55a0ede8958e4fa14f1 (diff) |
libata: clear HOTPLUG flag after a reset
ATA_EHI_HOTPLUGGED is a hint for reset functions indicating the the
port might have gone through hotplug/unplug just before entering EH.
Reset functions modify their behaviors a bit to handle the situation
better - e.g. using longer debouncing delay.
Currently, once HOTPLUG is set, it isn't cleared till the end of EH.
This is unnecessary and makes EH take longer. Clear the HOTPLUGGED
flag after a reset try (successful or not).
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions