From: Tejun Heo Date: Thu, 27 Mar 2008 10:14:23 +0000 (+0900) Subject: libata: make ata_tf_to_lba[48]() generic X-Git-Tag: v2.6.26-rc1~1150^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5987e0a1b569146ed9cfa0a8c275a21b344fcaa;p=pandora-kernel.git libata: make ata_tf_to_lba[48]() generic ata_tf_to_lba[48]() currently return LBA in tf + 1 for ata_read_native_max_address(). Make them return LBA and make it global so that it can be used to read LBA off TF for other purposes. ata_read_native_max_address() now adds 1 itself. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed