lkml.org 
[lkml]   [2000]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] printk to console in parport_pc
From

This patch fixes an annoying printk to console bug (which triggers every time I
load lprng, which triggers loading of parport modules).


diff -Naur linux-2.4.0-test6-pre3.orig/drivers/parport/parport_pc.c linux-2.4.0-test6-pre3/drivers/parport/parport_pc.c
--- linux-2.4.0-test6-pre3.orig/drivers/parport/parport_pc.c Fri Aug 4 21:13:07 2000
+++ linux-2.4.0-test6-pre3/drivers/parport/parport_pc.c Fri Aug 4 21:17:33 2000
@@ -2111,7 +2111,7 @@
#undef printmode
printk("]\n");
if (probedirq != PARPORT_IRQ_NONE)
- printk("%s: irq %d detected\n", p->name, probedirq);
+ printk(KERN_INFO "%s: irq %d detected\n", p->name, probedirq);
parport_proc_register(p);

request_region (p->base, 3, p->name);
--
Cesar Eduardo Barros
cesarb@nitnet.com.br
cesarb@dcc.ufrj.br

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.043 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site