Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166886
b: refs/heads/master
c: ea3acb1
h: refs/heads/master
v: v3
  • Loading branch information
Jason Wessel authored and Ingo Molnar committed Oct 1, 2009
1 parent 8353fc0 commit b6113d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04edbdef02ec4386a2ae38cab7ae7d166e17a756
refs/heads/master: ea3acb199a5d7e4da1de0a4288eba993b29f33b9
1 change: 1 addition & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ and is between 256 and 4096 characters. It is defined in the file
earlyprintk= [X86,SH,BLACKFIN]
earlyprintk=vga
earlyprintk=serial[,ttySn[,baudrate]]
earlyprintk=ttySn[,baudrate]
earlyprintk=dbgp[debugController#]

Append ",keep" to not disable it when the real console
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/x86/kernel/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,11 @@ static int __init setup_early_printk(char *buf)

while (*buf != '\0') {
if (!strncmp(buf, "serial", 6)) {
early_serial_init(buf + 6);
buf += 6;
early_serial_init(buf);
early_console_register(&early_serial_console, keep);
if (!strncmp(buf, ",ttyS", 5))
buf += 5;
}
if (!strncmp(buf, "ttyS", 4)) {
early_serial_init(buf + 4);
Expand Down

0 comments on commit b6113d5

Please sign in to comment.