diff options
| author | Albert Lee <albertcc@tw.ibm.com> | 2005-08-12 14:17:50 +0800 | 
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-12 02:44:20 -0400 | 
| commit | 563a6e1fb0af58433beec1ab418e1fafbd100b56 (patch) | |
| tree | dcf2145bbf63751722f694044fe547a7dab27d1f /lib/spinlock_debug.c | |
| parent | 6ae4cfb5711b6f2878c9e384617971d98c34a7f5 (diff) | |
[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 <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions
