pata_radisys: fix mwdma_mask to exclude mwdma0
authorErik Inge Bolsø <knan-lkml@anduin.net>
Sat, 14 Mar 2009 22:07:33 +0000 (23:07 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:13:32 +0000 (22:13 -0400)
As noted by Alan:
>Your suspicions are correct here btw - the device can only do MWDMA1 and
>MWDMA2 (much like some PIIX devices)

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

index 1956d5c03a7f7b1a1a38dc11a210fce7bc5a1903..4401b332eaab3a51f3e168285c8d8db9e0ad8f8a 100644 (file)
@@ -217,7 +217,7 @@ static int radisys_init_one (struct pci_dev *pdev, const struct pci_device_id *e
        static const struct ata_port_info info = {
                .flags          = ATA_FLAG_SLAVE_POSS,
                .pio_mask       = ATA_PIO4,
-               .mwdma_mask     = ATA_MWDMA2, /* mwdma1-2 */
+               .mwdma_mask     = ATA_MWDMA12_ONLY,
                .udma_mask      = ATA_UDMA24_ONLY,
                .port_ops       = &radisys_pata_ops,
        };