libata: HPA support
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 10 Apr 2007 23:23:13 +0000 (00:23 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:16:06 +0000 (14:16 -0400)
commit1e999736cafdffc374f22eed37b291129ef82e4e
treed71e0907827841de66f172dec0cc4d550bd2cec8
parent6bfff31e77cfa1b13490337e5a4dbaa3407e83ac
libata: HPA support

Signed-off-by: Alan Cox <alan@redhat.com>
Add support for ignoring the BIOS HPA result (off by default) and setting
the disk to the full available size unless already frozen.

Tested with various platforms/disks and confirmed to work with the
Macintosh (which broke earlier) and ata_piix (breakage due to the LBA48
readback that Tejun fixed).

For normal users this brings us, I believe, to feature parity with old IDE
(and of course more featured in some areas too).
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
include/linux/ata.h
include/linux/libata.h