lkml.org 
[lkml]   [1999]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] parport console (was Re: GDTH driver in 2.3.33)
On Mon, 20 Dec 1999, Tim Waugh wrote:

> 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/

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