summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-07-10 14:18:23 (GMT)
committerJeff Garzik <jeff@garzik.org>2006-07-19 18:06:53 (GMT)
commit7c8c2cff81b2b7f6dd3f9fd7b77033c1be5d7920 (patch)
treece03730193b08639e90f95d3419857053e3d283c /include
parent4528e4da79675b4995e085046b8ffbe0415c3261 (diff)
downloadlinux-7c8c2cff81b2b7f6dd3f9fd7b77033c1be5d7920.tar.xz
[PATCH] libata: fix eh_skip_recovery condition
* (ata_dev_absent() || ata_dev_ready()) test doesn't indicate SUSPENDED state properly. Fix it. * Link resuming resets shouldn't be skipped. Don't skip recovery on EHI_RESUME_LINK. This doesn't matter for host ports as EHI_RESUME always coincides with EHI_HOTPLUGGED which makes attached disabled devices vacant. However, PMP reset causes non-hotplug link-resuming resets which shouldn't be skipped. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions