[PATCH] [TRIVIAL] hda: DMA disabled

From: Denis Zaitsev (zzz@cd-club.ru)
Date: Thu Nov 07 2002 - 15:01:21 EST


I have such a pessimistic messages at the startup, and nothing
relaxing is following, keeping such a feeling that DMA is really
disabled. The tiny patch below brings the patiency, even though I'm
not sure that this is the exact way. So, please apply, if it's
appropriate.

--- drivers/ide/ide-iops.c.orig Thu Nov 7 23:14:03 2002
+++ drivers/ide/ide-iops.c Thu Nov 7 23:15:01 2002
@@ -891,7 +891,7 @@ int ide_config_drive_speed (ide_drive_t
         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) {
-
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 : Thu Nov 07 2002 - 22:00:49 EST