lkml.org 
[lkml]   [2002]   [Dec]   [1]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateSun, 1 Dec 2002 10:32:34 +0100
FromTomas Szepe <>
SubjectRe: Linux 2.4.20-ac1
> > >  	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);
> > >  }
> > 
> > with the above applied:
> 
> Better I think that via drivers turn DMA off -quietly-

This isn't just via but possibly all drivers
that call ide-iops.c::ide_config_drive_speed() --

arm/icside.c pci/aec62xx.c pci/alim15x3.c pci/amd74xx.c pci/cmd64x.c
pci/cs5530.c pci/hpt34x.c pci/hpt366.c pci/it8172.c pci/nvidia.c
pci/pdc202xx_new.c pci/pdc202xx_old.c pci/piix.c pci/sc1200.c
pci/serverworks.c pci/siimage.c pci/sis5513.c pci/sl82c105.c
pci/slc90e66.c pci/via82cxxx.c

The following bit kills the noise:

diff -urN linux-2.4.20-ac1/drivers/ide/ide-iops.c linux-2.4.20-ac1.x/drivers/ide/ide-iops.c
--- linux-2.4.20-ac1/drivers/ide/ide-iops.c	2002-12-01 10:23:29 +0100
+++ linux-2.4.20-ac1.x/drivers/ide/ide-iops.c	2002-12-01 10:16:00 +0100
@@ -891,7 +891,7 @@
 	if (speed >= XFER_SW_DMA_0)
 		hwif->ide_dma_host_on(drive);
 	else
-		hwif->ide_dma_off(drive);
+		hwif->ide_dma_off_quietly(drive);
 #endif /* (CONFIG_BLK_DEV_IDEDMA) && !(CONFIG_DMA_NONPCI) */
 
 	switch(speed) {
--
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/

\
 
 \ /
  Last update: 2005-03-22 11:31    [W:0.305 / U:0.610 seconds]
©2003-2008 Jasper Spaans