diff options
| author | Tejun Heo <[email protected]> | 2007-09-03 12:32:30 +0900 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2007-10-12 14:55:39 -0400 |
| commit | c728a9149f519cbb9f610962873f4e22ed4a6efd (patch) | |
| tree | f739bd40345252ab7885ac6af63ca176d7f36000 /include/linux | |
| parent | db6f8759d05d2082f09a45b5674edc0fb5e92b1b (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 <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions