summaryrefslogtreecommitdiffstats
path: root/drivers/char/amiserial.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-12-05 08:43:07 +0100
committerJeff Garzik <jeff@garzik.org>2008-01-23 11:24:14 +0100
commit55dba3120fbcbea6800f9a18503d25f73212a347 (patch)
tree1b23e606aad8bc58dbe68ca905c0658625fb176e /drivers/char/amiserial.c
parentlibata: add ATAPI_* cmd types and implement atapi_cmd_type() (diff)
downloadlinux-55dba3120fbcbea6800f9a18503d25f73212a347.tar.xz
linux-55dba3120fbcbea6800f9a18503d25f73212a347.zip
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>
Diffstat (limited to 'drivers/char/amiserial.c')
0 files changed, 0 insertions, 0 deletions