From: Albert Lee Date: Fri, 12 Aug 2005 06:17:50 +0000 (+0800) Subject: [PATCH] libata handle the case when device returns/needs extra data X-Git-Tag: v2.6.14-rc1~1056^2~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=563a6e1fb0af58433beec1ab418e1fafbd100b56;p=pandora-kernel.git [PATCH] libata handle the case when device returns/needs extra data PATCH 2/2: handle the case when device returns/needs extra data Description: Sometimes the device returns/needs extra data than expected. Changes: Modify __atapi_pio_bytes() to handle the case where device returns/needs extra data. - for read case, discard trailing data from the device - for write case, padding zero data to the device Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed