summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/param.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-09-03 05:32:57 +0200
committerJeff Garzik <jeff@garzik.org>2007-10-12 20:55:39 +0200
commit05027adccc09401a7e31d5ef51040dc75ab03c22 (patch)
tree83fbb8e65d26e10e1fd74377bc13fd358a61c13e /include/asm-ia64/param.h
parentlibata: clean up read/set native_max address functions (diff)
downloadlinux-05027adccc09401a7e31d5ef51040dc75ab03c22.tar.xz
linux-05027adccc09401a7e31d5ef51040dc75ab03c22.zip
libata: remiplement ata_hpa_resize()
This patch reimplement ata_hpa_resize() such that... * All HPA related decisions are made inside ata_hpa_resize() proper. ata_hpa_resize() returns 0 if configuration can proceed, -errno if device needs to be reset and reconfigured. * All errors are handled properly. If HPA unlocking isn't requested, HPA handling is disabled automatically to avoid unnecessary device detection failure. * Messages are trimmed. HPA detection message is printed only during initial configuration. HPA unlocked message is printed only during initial configuration or unlocking results in different size. * Instead of using sectors returned in TF of SET_MAX, re-read IDENTIFY data as that's the value the device is going to use. * It's called early during ata_dev_configure() as IDENTIFY data might change after resizing. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-ia64/param.h')
0 files changed, 0 insertions, 0 deletions