summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-03-23 13:05:15 +0100
committerJeff Garzik <jeff@garzik.org>2008-03-25 03:09:40 +0100
commitdda7aba119536084d082cd11d4781fe15d7355f2 (patch)
treef015dade6caf49c7fbff2d6c26a040375c368ab1 /block/genhd.c
parentlibata: assume no device is attached if both IDENTIFYs are aborted (diff)
downloadlinux-dda7aba119536084d082cd11d4781fe15d7355f2.tar.xz
linux-dda7aba119536084d082cd11d4781fe15d7355f2.zip
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>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions