IDE/DMA madness

est@hyperreal.org
Sun, 25 Jul 1999 14:42:18 -0700 (PDT)


Greetings,

My 2.2.7 kernel claims the BIOS has turned IDE/DMA off unless I rip
out the following lines:

--- linux-2.2.7/drivers/block/ide-dma.c~ Mon Jan 18 02:23:01 1999
+++ linux-2.2.7/drivers/block/ide-dma.c Sun Jul 25 16:06:54 1999
@@ -434,10 +434,6 @@
request_region(dma_base+16, extra, name);
dma_base += hwif->channel ? 8 : 0;
hwif->dma_extra = extra;
- if (inb(dma_base+2) & 0x80) {
- printk("%s: simplex device: DMA disabled\n", name);
- dma_base = 0;
- }
}
return dma_base;
}

The exact same lines appear in 2.2.10 as well. Obviously this isn't
the right way to fix my problem..does anyone know what is? I've got
an Asus P5A-B motherboard.

Thanks, :)

Eric

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/