Tejun Heo 55dba3120f libata: update ->data_xfer hook for ATAPI
Depending on how many bytes are transferred as a unit, PIO data
transfer may consume more bytes than requested.  Knowing how much
data is consumed is necessary to determine how much is left for
draining.  This patch update ->data_xfer such that it returns the
number of consumed bytes.

While at it, it also makes the following changes.

* s/adev/dev/
* use READ/WRITE constants for rw indication
* misc clean ups

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-23 05:24:14 -05:00
..
2007-10-17 08:42:52 -07:00
2008-01-14 08:52:22 -08:00
2007-10-29 17:27:50 -04:00
2007-10-16 09:43:09 -07:00
2008-01-14 21:53:31 +01:00
2008-01-11 11:42:07 -08:00
2007-12-31 23:11:11 +00:00
2007-11-05 15:12:31 -08:00
2007-11-29 09:24:53 -08:00
2007-12-12 20:01:00 +01:00
2007-12-23 12:54:37 -08:00
2007-12-17 19:28:15 -08:00
2007-10-17 08:42:57 -07:00
2008-01-21 19:39:41 -08:00
2007-10-23 15:49:54 +10:00