[PATCH] libata ata_data_xfer() fix
authorAlbert Lee <albertcc@tw.ibm.com>
Fri, 12 Aug 2005 06:15:34 +0000 (14:15 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 12 Aug 2005 06:44:20 +0000 (02:44 -0400)
commit6ae4cfb5711b6f2878c9e384617971d98c34a7f5
treed5e4f3ab6381c0c5429429eb9f4159e321af8431
parentbc68552faad0e134eb22281343d5ae5a4873fa80
[PATCH] libata ata_data_xfer() fix

PATCH 1/2: ata_data_xfer() fix

Changes:
   - Modify ata_mmio_data_xfer() and ata_pio_data_xfer() to handle odd-lengthed buffer.
   - Add some function comments

This patch does not reuse ap->pad as alignment buffer since
using local variable seems good enough.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c