Tejun Heo
c728a9149f
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 >
2007-10-12 14:55:39 -04:00
..
2007-10-11 19:20:44 -07:00
2007-10-12 14:55:39 -04:00
2007-10-10 16:49:10 -07:00
2007-08-22 19:52:46 -07:00
2007-10-07 16:42:22 -07:00
2007-10-11 21:55:47 -07:00
2007-09-09 08:39:27 +02:00
2007-10-11 20:40:47 +10:00
2007-10-11 21:55:47 -07:00
2007-10-10 21:15:29 -07:00
2007-10-10 16:55:50 -07:00
2007-08-26 18:35:40 -07:00
2007-09-11 17:21:19 -07:00
2007-10-07 13:48:41 +02:00
2007-10-09 20:22:20 -04:00
2007-08-18 09:52:50 -07:00
2007-10-09 20:22:20 -04:00
2007-09-09 22:29:14 +02:00
2007-10-11 19:20:44 -07:00
2007-10-10 16:52:52 -07:00
2007-10-11 19:43:13 -07:00
2007-10-09 20:22:20 -04:00
2007-10-10 16:54:57 -07:00
2007-09-22 12:55:18 -07:00
2007-10-11 22:24:00 +01:00
2007-09-25 08:51:04 -07:00
2007-09-22 14:49:21 +10:00
2007-10-10 09:25:57 +02:00
2007-10-11 19:40:14 -07:00
2007-10-10 16:51:13 -07:00
2007-10-11 21:55:47 -07:00
2007-10-11 19:09:08 +02:00
2007-09-20 07:37:16 -05:00
2007-10-11 22:17:20 -07:00
2007-10-10 16:49:10 -07:00
2007-10-11 11:16:36 +02:00
2007-10-09 20:22:20 -04:00
2007-09-21 01:22:23 +04:00
2007-09-19 11:24:17 -07:00
2007-10-11 19:40:14 -07:00
2007-10-12 14:55:35 -04:00
2007-10-11 21:55:47 -07:00
2007-09-11 17:21:19 -07:00
2007-10-10 16:52:21 -07:00
2007-10-11 19:40:14 -07:00
2007-10-11 21:55:47 -07:00
2007-09-25 08:51:04 -07:00
2007-08-22 19:52:45 -07:00
2007-10-10 16:51:36 -07:00
2007-10-10 16:51:36 -07:00