linux-stable-rt/arch/ia64/kernel
Yinghai Lu 18a8bd949d serial: convert early_uart to earlycon for 8250
Beacuse SERIAL_PORT_DFNS is removed from include/asm-i386/serial.h and
include/asm-x86_64/serial.h.  the serial8250_ports need to be probed late in
serial initializing stage.  the console_init=>serial8250_console_init=>
register_console=>serial8250_console_setup will return -ENDEV, and console
ttyS0 can not be enabled at that time.  need to wait till uart_add_one_port in
drivers/serial/serial_core.c to call register_console to get console ttyS0.
that is too late.

Make early_uart to use early_param, so uart console can be used earlier.  Make
it to be bootconsole with CON_BOOT flag, so can use console handover feature.
and it will switch to corresponding normal serial console automatically.

new command line will be:
	console=uart8250,io,0x3f8,9600n8
	console=uart8250,mmio,0xff5e0000,115200n8
or
	earlycon=uart8250,io,0x3f8,9600n8
	earlycon=uart8250,mmio,0xff5e0000,115200n8

it will print in very early stage:
	Early serial console at I/O port 0x3f8 (options '9600n8')
	console [uart0] enabled
later for console it will print:
	console handover: boot [uart0] -> real [ttyS0]

Signed-off-by: <yinghai.lu@sun.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:35 -07:00
..
cpufreq
Makefile
acpi-ext.c
acpi-processor.c [IA64] Fix using uninitialized data in _PDC setup 2007-05-24 10:14:30 -07:00
acpi.c [IA64] acpi_get_sysname() should be __init 2007-05-24 10:59:44 -07:00
asm-offsets.c
audit.c [PATCH] audit signal recipients 2007-05-11 05:38:25 -04:00
brl_emu.c
crash.c [IA64] kdump on INIT needs multi-nodes sync-up (v.2) 2007-05-14 15:55:39 -07:00
crash_dump.c
cyclone.c
efi.c
efi_stub.S
entry.S [IA64] wire up {signal,timer,event}fd syscalls 2007-05-14 15:55:11 -07:00
entry.h
err_inject.c [IA64] typo s/kenrel/kernel/ 2007-05-10 09:35:30 -07:00
esi.c
esi_stub.S
fsys.S
gate-data.S
gate.S [IA64] Stop bit for brl instruction 2007-07-09 13:37:44 -07:00
gate.lds.S
head.S
ia64_ksyms.c
init_task.c
iosapic.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2007-05-09 13:38:45 -07:00
irq.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
irq_ia64.c [IA64] sa_interrupt is deprecated 2007-05-09 14:20:59 -07:00
irq_lsapic.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
ivt.S
jprobes.S
kprobes.c [IA64] optimize pagefaults a little 2007-05-16 09:00:51 -07:00
machine_kexec.c
machvec.c [IA64] Fix - Section mismatch: reference to .init.data:mvec_name 2007-05-10 11:57:58 -07:00
mca.c [IA64] Support multiple CPUs going through OS_MCA 2007-07-11 11:50:11 -07:00
mca_asm.S [IA64] Support multiple CPUs going through OS_MCA 2007-07-11 11:50:11 -07:00
mca_drv.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
mca_drv.h
mca_drv_asm.S [IA64] Don't set psr.ic and psr.i simultaneously 2007-07-09 10:30:28 -07:00
minstate.h
module.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
msi_ia64.c
numa.c
pal.S
palinfo.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
patch.c
perfmon.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
perfmon_default_smpl.c
perfmon_generic.h
perfmon_itanium.h
perfmon_mckinley.h [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
perfmon_montecito.h
process.c [IA64] silence GCC ia64 unused variable warnings 2007-07-11 11:40:42 -07:00
ptrace.c
relocate_kernel.S
sal.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
salinfo.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
semaphore.c
setup.c serial: convert early_uart to earlycon for 8250 2007-07-16 09:05:35 -07:00
sigframe.h [IA64] Add TIF_RESTORE_SIGMASK 2007-05-08 14:51:59 -07:00
signal.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2007-05-09 13:38:45 -07:00
smp.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
smpboot.c [IA64] start_secondary() and smp_callin() should be __cpuinit 2007-05-23 16:46:40 -07:00
sys_ia64.c
time.c [IA64] remove duplicate header include line 2007-06-26 13:33:45 -07:00
topology.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
traps.c [IA64] spelling fixes: arch/ia64/ 2007-05-11 14:55:43 -07:00
unaligned.c
uncached.c
unwind.c [IA64] Correct unwind validation code 2007-06-26 13:33:10 -07:00
unwind_decoder.c
unwind_i.h
vmlinux.lds.S all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00