aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sata_promise.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-05-22 11:59:59 -0400
committerJeff Garzik <jeff@garzik.org>2006-05-24 01:58:54 -0400
commita6b2c5d4754dc539a560fdf0d3fb78a14174394a (patch)
treec6daf88f97c7ed20becf2bd8666be81190eb4bb4 /drivers/scsi/sata_promise.c
parent8190bdb9291758f3b8c436ec1154c9923ddb57ea (diff)
[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_promise.c')
-rw-r--r--drivers/scsi/sata_promise.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/sata_promise.c b/drivers/scsi/sata_promise.c
index 285ab0263d91..01111594d09c 100644
--- a/drivers/scsi/sata_promise.c
+++ b/drivers/scsi/sata_promise.c
@@ -137,6 +137,7 @@ static const struct ata_port_operations pdc_sata_ops = {
137 .qc_prep = pdc_qc_prep, 137 .qc_prep = pdc_qc_prep,
138 .qc_issue = pdc_qc_issue_prot, 138 .qc_issue = pdc_qc_issue_prot,
139 .eng_timeout = pdc_eng_timeout, 139 .eng_timeout = pdc_eng_timeout,
140 .data_xfer = ata_mmio_data_xfer,
140 .irq_handler = pdc_interrupt, 141 .irq_handler = pdc_interrupt,
141 .irq_clear = pdc_irq_clear, 142 .irq_clear = pdc_irq_clear,
142 143
@@ -159,6 +160,7 @@ static const struct ata_port_operations pdc_pata_ops = {
159 160
160 .qc_prep = pdc_qc_prep, 161 .qc_prep = pdc_qc_prep,
161 .qc_issue = pdc_qc_issue_prot, 162 .qc_issue = pdc_qc_issue_prot,
163 .data_xfer = ata_mmio_data_xfer,
162 .eng_timeout = pdc_eng_timeout, 164 .eng_timeout = pdc_eng_timeout,
163 .irq_handler = pdc_interrupt, 165 .irq_handler = pdc_interrupt,
164 .irq_clear = pdc_irq_clear, 166 .irq_clear = pdc_irq_clear,