From: Tejun Heo Date: Mon, 3 Jul 2006 07:07:26 +0000 (+0900) Subject: [PATCH] libata: clean up debounce parameters and improve parameter selection X-Git-Tag: v2.6.18-rc1~3^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9c839142d698086d3fe33a0daafde55ddd00c4e;p=pandora-kernel.git [PATCH] libata: clean up debounce parameters and improve parameter selection The names of predefined debounce timing parameters didn't exactly match their usages. Rename to more generic names and implement param selection helper sata_ehc_deb_timing() which uses EHI_HOTPLUGGED to select params. Combined with the previous EHI_RESUME_LINK differentiation, this makes parameter selection accurate. e.g. user scan resumes link but normal deb param is used instead of hotplug param. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed