Re: Linux 2.4.20-ac1

From: Tomas Szepe (szepe@pinerecords.com)
Date: Sat Nov 30 2002 - 11:40:22 EST


> > It reports "DMA disabled" messages on boot for all of my IDE drives:
>
> Its a funny off the VIA driver - it turns DMA off noisily then turnd it
> back on quietly for the devices it decies can do DMA/UDMA

Hmmm, I can only find references to dma_off_quietly within the via driver.
Weird.

Also Alan, you've left your infamous 'x1' in drivers/ide. :)

So would the following make things more explicit?

diff -urN linux-2.4.20-ac1/drivers/ide/ide-dma.c linux-2.4.20-ac1.x/drivers/ide/ide-dma.c
--- linux-2.4.20-ac1/drivers/ide/ide-dma.c 2002-11-30 17:37:32.000000000 +0100
+++ linux-2.4.20-ac1.x/drivers/ide/ide-dma.c 2002-11-30 17:34:22.000000000 +0100
@@ -627,6 +627,7 @@
 {
         drive->using_dma = 1;
         ide_toggle_bounce(drive, 1);
+ printk(KERN_INFO "%s: DMA enabled\n", drive->name);
         return HWIF(drive)->ide_dma_host_on(drive);
 }

-- 
Tomas Szepe <szepe@pinerecords.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:24 EST