login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
12
Re: [PATCH 1/1] x86: Add config option to setup early serial console
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Mike Travis <travis@...>
To: Ingo Molnar <mingo@...>
Cc: Andrew Morton <akpm@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, <linux-kernel@...>
Subject:
Re: [PATCH 1/1] x86: Add config option to setup early serial console
Date: Thursday, June 12, 2008 - 6:42 pm
Boy, this just isn't my day... Another typo slipped through... Mike Travis wrote:
quoted text
> * Add config option EARLY_SERIAL_CONSOLE to enable early > printk's to be directed to the serial console. > > Based on linux-next > > Signed-off-by: Mike Travis <travis@sgi.com> > --- > > --- > arch/x86/Kconfig.debug | 9 +++++++++ > arch/x86/kernel/early_printk.c | 4 ++++ > 2 files changed, 13 insertions(+) > > --- linux-2.6-next.orig/arch/x86/Kconfig.debug > +++ linux-2.6-next/arch/x86/Kconfig.debug > @@ -29,6 +29,15 @@ config EARLY_PRINTK > with klogd/syslogd or the X server. You should normally N here, > unless you want to debug such a crash. > > +config EARLY_SERIAL_CONSOLE > + bool "Early Serial Console" > + default m > + help > + Initializes the early console to be the serial port. The default > + is to use the VGA console. > + > + This is useful for server systems that do not have a VGA console. > + > config DEBUG_STACKOVERFLOW > bool "Check for stack overflows" > depends on DEBUG_KERNEL > --- linux-2.6-next.orig/arch/x86/kernel/early_printk.c > +++ linux-2.6-next/arch/x86/kernel/early_printk.c > @@ -193,7 +193,11 @@ static struct console simnow_console = { > }; > > /* Direct interface for emergencies */ > +#ifdef CONFIG_EARLY_SERIAL_CONSOLE > +static struct console *early_console = &early_serial_console; > +#else > static struct console *early_console = &early_vga_console; > +#endif > static int early_console_initialized; > > void early_printk(const char *fmt, ...) >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 1/1] x86: Add config option to setup early serial con...
, Mike Travis
, (Thu Jun 12, 6:38 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, Andrew Morton
, (Thu Jun 12, 6:46 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, Mike Travis
, (Thu Jun 12, 6:58 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, Andrew Morton
, (Thu Jun 12, 7:10 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, Yinghai Lu
, (Thu Jun 12, 7:19 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, Yinghai Lu
, (Thu Jun 12, 7:18 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, H. Peter Anvin
, (Thu Jun 12, 6:42 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, Mike Travis
, (Thu Jun 12, 6:54 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, H. Peter Anvin
, (Thu Jun 12, 6:59 pm)
Re: [PATCH 1/1] x86: Add config option to setup early serial...
, Mike Travis
, (Thu Jun 12, 6:42 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
[patch 12/13] syslets: x86: optimized copy_uatom()
Greg Kroah-Hartman
[PATCH 017/196] aoechr: Convert from class_device to device
Yinghai Lu
Re: 2.6.26, PAT and AMD family 6
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
669 guests
online.
Online users
strcmp
Syndicate