Skip to contentSkip to conversation

ide=nodma printout fix

PATCH Applied Magnus Damm 2 participants 2 messages Nov 16, 2004 – Nov 17, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ide=nodma printout fix

This simple patch changes the output from this:
..
ide_setup: ide=nodmaIDE: Prevented DMA
..
to this:
..
ide_setup: ide=nodma : Prevented DMA
..

/ magnus

drivers/ide/ide.c +1 -1
@@ -1846,7 +1846,7 @@
 #endif /* CONFIG_BLK_DEV_IDEDOUBLER */
 
 	if (!strcmp(s, "ide=nodma")) {
-		printk("IDE: Prevented DMA\n");
+		printk(" : Prevented DMA\n");
 		noautodma = 1;
 		return 1;
 	}
#1 lore raw
Quoted 8 lines · Magnus Damm

This simple patch changes the output from this:
..
ide_setup: ide=nodmaIDE: Prevented DMA
..
to this:
..
ide_setup: ide=nodma : Prevented DMA
..

applied