]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
pata_efar: fix *dma_mask
authorErik Inge Bolsø <knan-lkml@anduin.net>
Sat, 14 Mar 2009 22:08:20 +0000 (23:08 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:13:39 +0000 (22:13 -0400)
According to Alan:
>and yes the EFAR does UDMA66.

mwdma:
>Yep - wrong comment. The EFAR is a sort of clone of the PIIX and I
>copied the comment while EFAR don't appear to have copied the
>limitation

Signed-off-by: Erik Inge Bolsø <knan-lkml@anduin.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_efar.c

index bd498cc3920e1e81a5d767bbfcf21947cb711dc0..2085e0a3a05a77a9bfe452de87e613503ca910a1 100644 (file)
@@ -252,8 +252,8 @@ static int efar_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
        static const struct ata_port_info info = {
                .flags          = ATA_FLAG_SLAVE_POSS,
                .pio_mask       = ATA_PIO4,
-               .mwdma_mask     = ATA_MWDMA2, /* mwdma1-2 */
-               .udma_mask      = ATA_UDMA3, /* UDMA 66 */
+               .mwdma_mask     = ATA_MWDMA2,
+               .udma_mask      = ATA_UDMA4,
                .port_ops       = &efar_ops,
        };
        const struct ata_port_info *ppi[] = { &info, NULL };