]> Pileus Git - ~andy/linux/commitdiff
[PATCH] libata: add missing ->data_xfer for pdc_adma
authorTejun Heo <htejun@gmail.com>
Fri, 9 Jun 2006 05:15:42 +0000 (22:15 -0700)
committerJeff Garzik <jeff@garzik.org>
Sun, 11 Jun 2006 14:21:13 +0000 (10:21 -0400)
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>
drivers/scsi/pdc_adma.c

index eb910e4c7d75aa7bda6f60f833cfaa78e1c59d7f..7ebe8e03aa96c392c3a92157755b49538d2d5c5c 100644 (file)
@@ -168,6 +168,7 @@ static const struct ata_port_operations adma_ata_ops = {
        .qc_prep                = adma_qc_prep,
        .qc_issue               = adma_qc_issue,
        .eng_timeout            = adma_eng_timeout,
+       .data_xfer              = ata_mmio_data_xfer,
        .irq_handler            = adma_intr,
        .irq_clear              = adma_irq_clear,
        .port_start             = adma_port_start,