]> err.no Git - linux-2.6/commitdiff
[PATCH] libata: Use ATA_FLAG_PIO_POLLING for pdc_adma
authorAlbert Lee <albertcc@tw.ibm.com>
Wed, 9 Aug 2006 10:36:22 +0000 (18:36 +0800)
committerJeff Garzik <jeff@garzik.org>
Thu, 10 Aug 2006 10:55:18 +0000 (06:55 -0400)
pdc_adma was overlooked and broken by the irq-pio patch:
Only HSM_ST_LAST interrupts should be delivered to this LLDD.

Adding ATA_FLAG_PIO_POLLING to pdc_adma fixes the problem (temporarily),
before we convert the irq handler of pdc_adma to handle all interrupts.

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/pdc_adma.c

index d1f38c32aa153e56404ae011edcf9ed8f04e0285..efc8fff1d25084ab1bce1b603cb5a6ebfbc81f57 100644 (file)
@@ -183,7 +183,8 @@ static struct ata_port_info adma_port_info[] = {
        {
                .sht            = &adma_ata_sht,
                .host_flags     = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST |
-                                 ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO,
+                                 ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO |
+                                 ATA_FLAG_PIO_POLLING,
                .pio_mask       = 0x10, /* pio4 */
                .udma_mask      = 0x1f, /* udma0-4 */
                .port_ops       = &adma_ata_ops,