From: Tejun Heo Date: Wed, 5 Dec 2007 07:43:07 +0000 (+0900) Subject: libata: update ->data_xfer hook for ATAPI X-Git-Tag: v2.6.25-rc1~1233^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55dba3120fbcbea6800f9a18503d25f73212a347;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed