]> err.no Git - linux-2.6/commitdiff
opti621: remove DMA support
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 15 Jun 2008 19:00:21 +0000 (21:00 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 15 Jun 2008 19:00:21 +0000 (21:00 +0200)
These controllers don't support DMA.

Based on a bugreport from Juergen Kosel & inspired by pata_opti.c code.

Tested-by: Juergen Kosel <juergen.kosel@gmx.de>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/opti621.c

index e31e0f970a2cfdd4a7c3d07cd6ce1a748c06df4b..65f180738947772439eca77aef7d27dd21ae49c2 100644 (file)
@@ -324,18 +324,14 @@ static const struct ide_port_info opti621_chipsets[] __devinitdata = {
                .name           = "OPTI621",
                .enablebits     = { {0x45, 0x80, 0x00}, {0x40, 0x08, 0x00} },
                .port_ops       = &opti621_port_ops,
-               .host_flags     = IDE_HFLAG_TRUST_BIOS_FOR_DMA,
+               .host_flags     = IDE_HFLAG_NO_DMA,
                .pio_mask       = ATA_PIO3,
-               .swdma_mask     = ATA_SWDMA2,
-               .mwdma_mask     = ATA_MWDMA2,
        }, {    /* 1 */
                .name           = "OPTI621X",
                .enablebits     = { {0x45, 0x80, 0x00}, {0x40, 0x08, 0x00} },
                .port_ops       = &opti621_port_ops,
-               .host_flags     = IDE_HFLAG_TRUST_BIOS_FOR_DMA,
+               .host_flags     = IDE_HFLAG_NO_DMA,
                .pio_mask       = ATA_PIO3,
-               .swdma_mask     = ATA_SWDMA2,
-               .mwdma_mask     = ATA_MWDMA2,
        }
 };