diff options
author | Tejun Heo <htejun@gmail.com> | 2006-06-09 01:15:42 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-11 10:21:13 -0400 |
commit | 1049cb478783c74ca8c99ef70e7d2bf920b9335b (patch) | |
tree | 724c27376039622a09504555e1df946a62b9aaaa /drivers | |
parent | 9a9c77dc4c4eed9dfb74080e768c0b3c9d905496 (diff) |
[PATCH] libata: add missing ->data_xfer for pdc_adma
pdc_adma use libata-core PIO path but were left out
during ->data_xfer conversion. Initialize with proper callbacks.
This patch is against the current libata-dev#ALL. Controllers which
implement their own PIO HSM (ahci and sil24) don't need ->data_xfer, so the
above two are the only drivers which were left out during conversion.
From: "Barry K. Nathan" <barryn@pobox.com>
Signed-off-by: Barry K. Nathan <barryn@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/pdc_adma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/pdc_adma.c b/drivers/scsi/pdc_adma.c index eb910e4c7d75..7ebe8e03aa96 100644 --- a/drivers/scsi/pdc_adma.c +++ b/drivers/scsi/pdc_adma.c | |||
@@ -168,6 +168,7 @@ static const struct ata_port_operations adma_ata_ops = { | |||
168 | .qc_prep = adma_qc_prep, | 168 | .qc_prep = adma_qc_prep, |
169 | .qc_issue = adma_qc_issue, | 169 | .qc_issue = adma_qc_issue, |
170 | .eng_timeout = adma_eng_timeout, | 170 | .eng_timeout = adma_eng_timeout, |
171 | .data_xfer = ata_mmio_data_xfer, | ||
171 | .irq_handler = adma_intr, | 172 | .irq_handler = adma_intr, |
172 | .irq_clear = adma_irq_clear, | 173 | .irq_clear = adma_irq_clear, |
173 | .port_start = adma_port_start, | 174 | .port_start = adma_port_start, |