Messages in this thread Patch in this message | | | Date | Thu, 19 Jun 2008 14:29:48 -0700 | From | Greg KH <> | Subject | [patch 04/15] opti621: remove DMA support |
| |
2.6.25-stable review patch. If anyone has any objections, please let us know.
------------------ From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
commit f361037631ba547ea88adf8d2359d810c1b2605a upstream
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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
--- drivers/ide/pci/opti621.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
--- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c @@ -324,20 +324,16 @@ static const struct ide_port_info opti62 .name = "OPTI621", .init_hwif = init_hwif_opti621, .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, - .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | + .host_flags = IDE_HFLAG_NO_DMA | IDE_HFLAG_BOOTABLE, .pio_mask = ATA_PIO3, - .swdma_mask = ATA_SWDMA2, - .mwdma_mask = ATA_MWDMA2, },{ /* 1 */ .name = "OPTI621X", .init_hwif = init_hwif_opti621, .enablebits = {{0x45,0x80,0x00}, {0x40,0x08,0x00}}, - .host_flags = IDE_HFLAG_TRUST_BIOS_FOR_DMA | + .host_flags = IDE_HFLAG_NO_DMA | IDE_HFLAG_BOOTABLE, .pio_mask = ATA_PIO3, - .swdma_mask = ATA_SWDMA2, - .mwdma_mask = ATA_MWDMA2, } }; --
| |