summaryrefslogtreecommitdiff
path: root/drivers/atm/zatm.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-09-03 12:32:30 +0900
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:39 -0400
commitc728a9149f519cbb9f610962873f4e22ed4a6efd (patch)
treef739bd40345252ab7885ac6af63ca176d7f36000 /drivers/atm/zatm.h
parentdb6f8759d05d2082f09a45b5674edc0fb5e92b1b (diff)
libata: clean up read/set native_max address functions
Merge ata_read_native_max_addres_ext() into ata_read_native_max_address() and combine ata_set_native_max_address_ext() and ata_set_native_max_address() into ata_set_max_sectors(). * reduce duplicate code * return 0 or -errno depending on error conditions * report if command fails * use ATA_LBA instead of 0x40 This is in preparation of ata_hpa_resize() update. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/atm/zatm.h')
0 files changed, 0 insertions, 0 deletions