Messages in this thread Patch in this message | | | Date | Fri, 4 Aug 2000 21:21:46 -0300 | Subject | [PATCH] printk to console in parport_pc | From | Cesar Eduardo Barros <> |
| |
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/
| |