> > > 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/
This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:10 EST