]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ahci: disable PMP for marvell ahcis
authorTejun Heo <tj@kernel.org>
Fri, 29 Aug 2008 14:03:59 +0000 (16:03 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 8 Sep 2008 16:15:30 +0000 (12:15 -0400)
Marvell ahcis don't play nicely with PMPs.  Disable it.

Reported by KueiHuan Chen in the following thread.

  http://thread.gmane.org/gmane.linux.ide/33296

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: KueiHuan Chen <kueihuan.chen@gmail.com>
Cc: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c

index bce26ee3806ea3c3cd7a94a25642ae830bc20661..66aa146bf4d84ab2d4a079d7ea0cba644625d637 100644 (file)
@@ -420,7 +420,7 @@ static const struct ata_port_info ahci_port_info[] = {
        /* board_ahci_mv */
        {
                AHCI_HFLAGS     (AHCI_HFLAG_NO_NCQ | AHCI_HFLAG_NO_MSI |
-                                AHCI_HFLAG_MV_PATA),
+                                AHCI_HFLAG_MV_PATA | AHCI_HFLAG_NO_PMP),
                .flags          = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY |
                                  ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA,
                .pio_mask       = 0x1f, /* pio0-4 */