From: Tejun Heo Date: Sun, 23 Mar 2008 12:05:15 +0000 (+0900) Subject: libata: improve HPA error handling X-Git-Tag: v2.6.25-rc7~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda7aba119536084d082cd11d4781fe15d7355f2;p=pandora-kernel.git libata: improve HPA error handling There's no point in retrying and eventually failing device detection when the device rejects READ_NATIVE_MAX[_EXT]. Disable HPA unlocking if READ_NATIVE_MAX[_EXT] is rejected as done when SET_MAX[_EXT] is rejected. This allows some old drives to work even if they aren't blacklisted. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed