commit | dda7aba119536084d082cd11d4781fe15d7355f2 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Sun Mar 23 21:05:15 2008 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Mar 24 22:09:40 2008 -0400 |
tree | f015dade6caf49c7fbff2d6c26a040375c368ab1 | |
parent | 1ffc151fcddf524d0c76709d7e7a2af0255acb6b [diff] |
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 <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>