diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-06-15 15:00:21 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-06-15 15:00:21 -0400 |
commit | f361037631ba547ea88adf8d2359d810c1b2605a (patch) | |
tree | b65970204e55668803f385e236f4f5865072d4cc | |
parent | 62128b2ca812c1266f4ff7bac068bf0b626c6179 (diff) |
opti621: remove DMA support
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>
-rw-r--r-- | drivers/ide/pci/opti621.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index e31e0f970a2c..65f180738947 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c | |||
@@ -324,18 +324,14 @@ static const struct ide_port_info opti621_chipsets[] __devinitdata = { | |||
324 | .name = "OPTI621", | 324 | .name = "OPTI621", |
325 | .enablebits = { {0x45, 0x80, 0x00}, {0x40, 0x08, 0x00} }, | 325 | .enablebits = { {0x45, 0x80, 0x00}, {0x40, 0x08, 0x00} }, |
326 | .port_ops = &opti621_port_ops, | 326 | .port_ops = &opti621_port_ops, |
327 | .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA, | 327 | .host_flags = IDE_HFLAG_NO_DMA, |
328 | .pio_mask = ATA_PIO3, | 328 | .pio_mask = ATA_PIO3, |
329 | .swdma_mask = ATA_SWDMA2, | ||
330 | .mwdma_mask = ATA_MWDMA2, | ||
331 | }, { /* 1 */ | 329 | }, { /* 1 */ |
332 | .name = "OPTI621X", | 330 | .name = "OPTI621X", |
333 | .enablebits = { {0x45, 0x80, 0x00}, {0x40, 0x08, 0x00} }, | 331 | .enablebits = { {0x45, 0x80, 0x00}, {0x40, 0x08, 0x00} }, |
334 | .port_ops = &opti621_port_ops, | 332 | .port_ops = &opti621_port_ops, |
335 | .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA, | 333 | .host_flags = IDE_HFLAG_NO_DMA, |
336 | .pio_mask = ATA_PIO3, | 334 | .pio_mask = ATA_PIO3, |
337 | .swdma_mask = ATA_SWDMA2, | ||
338 | .mwdma_mask = ATA_MWDMA2, | ||
339 | } | 335 | } |
340 | }; | 336 | }; |
341 | 337 | ||