ide: idedisk_supports_lba48() -> ata_id_lba48_enabled()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:30 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:30 +0000 (22:39 +0200)
commit942dcd85bf8edf38cdc3745306ca250684d99a61
tree4d43552e3805c1df8585bb4056d6076dc56e5f09
parent367d7e78dd48cf6ad35182a99d97abb5486e040e
ide: idedisk_supports_lba48() -> ata_id_lba48_enabled()

* Add ata_id_lba48_enabled() inline helper to <linux/ata.h>.

* idedisk_supports_lba48() -> ata_id_lba48_enabled()

  The latter one also checks validity of words 83 & 86.

Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-disk.c
include/linux/ata.h