lkml.org 
[lkml]   [2002]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] [TRIVIAL] hda: DMA disabled
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/
\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.073 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site