Tejun Heo
726f0785b6
libata: kill qc->nsect and cursect
...
libata used two separate sets of variables to record request size and
current offset for ATA and ATAPI. This is confusing and fragile.
This patch replaces qc->nsect/cursect with qc->nbytes/curbytes and
kills them. Also, ata_pio_sector() is updated to use bytes for
qc->cursg_ofs instead of sectors. The field used to be used in bytes
for ATAPI and in sectors for ATA.
Signed-off-by: Tejun Heo <htejun@gmail.com >
Signed-off-by: Jeff Garzik <jeff@garzik.org >
2007-02-09 17:39:31 -05:00
..
2006-12-13 09:05:58 -08:00
2007-02-09 08:28:48 -08:00
2006-11-30 14:04:49 +00:00
2007-02-09 17:39:31 -05:00
2007-01-23 11:09:49 -08:00
2007-02-07 10:37:14 -08:00
2007-01-05 23:55:22 -08:00
2007-01-09 00:29:59 -08:00
2007-01-03 17:32:54 -08:00
2007-02-09 09:44:28 -08:00
2006-12-10 09:57:22 -08:00
2007-01-05 23:55:29 -08:00
2007-01-29 00:06:27 -05:00
2007-02-08 15:25:18 -08:00
2006-12-07 08:39:24 -08:00
2006-12-07 08:39:27 -08:00
2006-10-11 11:14:25 -07:00
2006-12-13 09:05:58 -08:00
2007-02-02 21:14:29 -05:00
2007-02-05 10:00:45 +01:00
2007-02-09 09:14:06 -08:00
2007-02-07 15:44:32 -08:00
2007-02-07 19:32:36 -08:00
2007-02-08 21:36:22 +01:00
2007-02-09 09:14:07 -08:00
2007-02-09 09:02:25 +01:00
2007-01-26 13:50:58 -08:00
2007-02-09 09:14:07 -08:00
2007-01-05 23:55:21 -08:00
2007-02-09 09:25:47 -08:00
2006-10-11 11:14:25 -07:00
2007-02-09 09:25:47 -08:00
2007-02-09 09:14:07 -08:00
2007-01-06 09:32:49 -06:00
2006-12-07 08:39:27 -08:00
2007-02-09 08:28:48 -08:00
2007-02-09 08:28:48 -08:00
2007-01-30 08:39:20 -08:00
2007-02-09 09:22:36 -08:00
2006-06-30 19:25:36 +02:00
2006-12-08 08:28:48 -08:00
2006-12-13 09:05:58 -08:00
2006-12-10 09:55:39 -08:00
2007-02-09 17:39:29 -05:00
2007-02-09 08:28:48 -08:00
2007-01-26 02:15:57 -05:00
2007-02-07 14:03:20 +11:00
2006-10-03 22:31:37 +02:00
2007-02-09 09:25:46 -08:00
2007-02-08 13:51:11 -08:00
2006-12-13 09:05:58 -08:00
2007-02-09 09:22:36 -08:00
2007-02-09 09:14:06 -08:00
2006-10-17 08:18:42 -07:00
2007-02-07 21:34:08 -08:00
2007-02-09 16:23:15 +00:00
2006-12-08 08:28:46 -08:00
2007-02-09 09:14:08 -08:00
2007-02-09 16:23:18 +00:00
2006-12-13 09:05:48 -08:00
2006-12-08 08:28:50 -08:00
2006-12-10 09:57:22 -08:00
2007-02-09 09:25:47 -08:00