Skip to contentSkip to conversation

quiet IDE resource reservation messages

PATCH New Jesse Barnes 1 participant 1 message Dec 17, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 quiet IDE resource reservation messages

In combined mode, having IDE resources reserved before the IDE driver can get to them is normal and expected, so quiet the 'resource conflict' messages a bit so as not to alarm anyone (and clean up my 'quiet' boot a bit).

Thanks,
Jesse

drivers/ide/ide-probe.c +1 -1
index 02167a5..57325a2 100644
@@ -773,7 +773,7 @@ static void probe_hwif(ide_hwif_t *hwif)
 			}
 		}
 		if (!msgout)
-			printk(KERN_ERR "%s: ports already in use, skipping probe\n",
+			printk(KERN_INFO "%s: ports already in use, skipping probe\n",
 				hwif->name);
 		return;	
 	}
drivers/ide/ide.c +2 -2
index 8af179b..84dd69b 100644
@@ -366,8 +366,8 @@ static struct resource* hwif_request_reg
 	struct resource *res = request_region(addr, num, hwif->name);
 
 	if (!res)
-		printk(KERN_ERR "%s: I/O resource 0x%lX-0x%lX not free.\n",
-				hwif->name, addr, addr+num-1);
+		printk(KERN_INFO "%s: I/O resource 0x%lX-0x%lX not free.\n",
+				 hwif->name, addr, addr+num-1);
 	return res;
 }