summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_via.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-05-22 17:59:59 +0200
committerJeff Garzik <jeff@garzik.org>2006-05-24 07:58:54 +0200
commita6b2c5d4754dc539a560fdf0d3fb78a14174394a (patch)
treec6daf88f97c7ed20becf2bd8666be81190eb4bb4 /drivers/scsi/sata_via.c
parent[libata] libata-scsi, sata_mv: trim trailing whitespace (diff)
downloadlinux-a6b2c5d4754dc539a560fdf0d3fb78a14174394a.tar.xz
linux-a6b2c5d4754dc539a560fdf0d3fb78a14174394a.zip
[PATCH] PATCH: libata. Add ->data_xfer method
We need to pass the device in order to do per device checks such as 32bit I/O enables. With the changes to include dev->ap we now don't have to add parameters however just clean them up. Also add data_xfer methods to the existing drivers except ata_piix (which is in the other block of patches). If you reject the piix one just add a data_xfer to it... Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/sata_via.c')
-rw-r--r--drivers/scsi/sata_via.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/sata_via.c b/drivers/scsi/sata_via.c
index 17aefab5f42f..1c9e2f36805a 100644
--- a/drivers/scsi/sata_via.c
+++ b/drivers/scsi/sata_via.c
@@ -124,6 +124,7 @@ static const struct ata_port_operations svia_sata_ops = {
.qc_prep = ata_qc_prep,
.qc_issue = ata_qc_issue_prot,
+ .data_xfer = ata_pio_data_xfer,
.eng_timeout = ata_eng_timeout,