> At the moment console=lp causes console writes to go to parport0 -- is
> it going to be worth me putting in the extra logic to make things like
> console=lp1 work?
(I'm replying to myself a lot today..)
Linus, here's a patch for 2.3.34pre2 to make the lp console name a bit
more consistent.
Tim.
*/
Index: linux/Documentation/serial-console.txt
diff -u linux/Documentation/serial-console.txt:1.1.1.1 linux/Documentation/serial-console.txt:1.3
--- linux/Documentation/serial-console.txt:1.1.1.1 Fri Sep 24 23:01:37 1999
+++ linux/Documentation/serial-console.txt Mon Dec 20 17:03:59 1999
@@ -11,6 +11,7 @@
device: tty0 for the foreground virtual console
ttyX for any other virtual console
ttySx for a serial port
+ lp0 for the first parallel port
options: depend on the driver. For the serial port this
defines the baudrate/parity/bits of the port,
Index: linux/drivers/char/lp.c
diff -u linux/drivers/char/lp.c:1.1.1.2 linux/drivers/char/lp.c:1.3
--- linux/drivers/char/lp.c:1.1.1.2 Fri Dec 3 10:07:11 1999
+++ linux/drivers/char/lp.c Mon Dec 20 17:04:00 1999
@@ -679,7 +679,7 @@
}
static struct console lpcons = {
- "lp",
+ "lp0",
lp_console_write,
NULL,
lp_console_device,
-
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/