[PATCH] libata: implement ATA_EHI_RESUME_LINK
authorTejun Heo <htejun@gmail.com>
Mon, 3 Jul 2006 07:07:26 +0000 (16:07 +0900)
committerJeff Garzik <jeff@garzik.org>
Thu, 6 Jul 2006 02:16:27 +0000 (22:16 -0400)
commit28324304350e23db24d679c55de3f06a5b1e40aa
treed1100fbbc939a5f214a3d2917f5ef9cce5159a0e
parente30349d27e093f32ef517b5416d9dce1998d4676
[PATCH] libata: implement ATA_EHI_RESUME_LINK

Implement ATA_EHI_RESUME_LINK, which indicates that the link needs to
be resumed.  This used to be implied by ATA_EHI_HOTPLUGGED.  However,
hotplug isn't the only event which requires link resume and separating
this out allows other places to request link resume.  This
differentiation also allows better debounce timing selection.

This patch converts user scan to use ATA_EHI_RESUME_LINK.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c
drivers/scsi/libata-scsi.c
include/linux/libata.h