kernel-ark/arch/sparc/kernel
David S. Miller c73fcc846c [SPARC]: Fix serial console device detection.
The current scheme works on static interpretation of text names, which
is wrong.

The output-device setting, for example, must be resolved via an alias
or similar to a full path name to the console device.

Paths also contain an optional set of 'options', which starts with a
colon at the end of the path.  The option area is used to specify
which of two serial ports ('a' or 'b') the path refers to when a
device node drives multiple ports.  'a' is assumed if the option
specification is missing.

This was caught by the UltraSPARC-T1 simulator.  The 'output-device'
property was set to 'ttya' and we didn't pick upon the fact that this
is an OBP alias set to '/virtual-devices/console'.  Instead we saw it
as the first serial console device, instead of the hypervisor console.

The infrastructure is now there to take advantage of this to resolve
the console correctly even in multi-head situations in fbcon too.

Thanks to Greg Onufer for the bug report.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-20 16:59:26 -07:00
..
apc.c
asm-offsets.c
auxio.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
cpu.c
devices.c
ebus.c
entry.S
errtbls.c
etrap.S
head.S [SPARC32]: Fix sparc32 kdebug changes. 2007-05-14 03:22:08 -07:00
idprom.c
init_task.c
ioport.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
led.c
Makefile
module.c
muldiv.c
of_device.c Create drivers/of/platform.c 2007-07-20 14:25:51 +10:00
pcic.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
pmc.c
process.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
prom.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
ptrace.c
rtrap.S
sclow.S
semaphore.c
setup.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
signal.c
smp.c sched: zap the migration init / cache-hot balancing code 2007-07-09 18:51:57 +02:00
sparc_ksyms.c
sparc-stub.c
sun4c_irq.c
sun4d_irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
sun4d_smp.c
sun4m_irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
sun4m_smp.c
sun4setup.c
sunos_asm.S
sunos_ioctl.c
sys_solaris.c
sys_sparc.c
sys_sunos.c
systbls.S [SPARC]: Add sys_fallocate() entries. 2007-07-19 21:26:47 -07:00
tadpole.c
tick14.c
time.c [SPARC/64] Rename some functions like PowerPC 2007-07-20 14:24:53 +10:00
trampoline.S
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
unaligned.c
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
windows.c
wof.S
wuf.S