linux/arch/sparc64/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
..
asm-offsets.c
audit.c [PATCH] audit signal recipients 2007-05-11 05:38:25 -04:00
auxio.c [SPARC/64] Rename some functions like PowerPC 2007-07-20 14:24:53 +10:00
binfmt_aout32.c
binfmt_elf32.c
central.c [SPARC64]: Fix section mismatch warnings in arch/sparc64/kernel/console.c 2007-05-07 00:00:37 -07:00
chmc.c
compat_audit.c [PATCH] add SIGNAL syscall class (v3) 2007-05-11 05:38:25 -04:00
cpu.c
ds.c [SPARC64]: Use orderly_poweroff(). 2007-07-19 21:26:42 -07:00
dtlb_miss.S
dtlb_prot.S
ebus.c [SPARC64]: Kill asm-sparc64/pbm.h 2007-05-08 16:43:08 -07:00
entry.S [SPARC64]: Fix args to sun4v_ldc_revoke(). 2007-06-13 00:01:27 -07:00
etrap.S
head.S [SPARC64]: Fix two year old bug in early bootup asm. 2007-07-19 21:50:09 -07:00
hvapi.c [SPARC64]: Report proper system soft state to the hypervisor. 2007-05-29 02:49:29 -07:00
hvtramp.S [SPARC64]: Kill explicit %gl register reference. 2007-07-17 12:18:15 -07:00
idprom.c
init_task.c
iommu_common.c
iommu_common.h
irq.c [SPARC64]: Tweak assertions in sun4v_build_virq(). 2007-07-19 21:28:43 -07:00
isa.c
itlb_miss.S [SPARC64]: Fix _PAGE_EXEC_4U check in sun4u I-TLB miss handler. 2007-05-29 02:50:15 -07:00
kprobes.c [SPARC64]: Optimize fault kprobe handling just like powerpc. 2007-05-08 18:25:14 -07:00
ktlb.S
ldc.c [SPARC64]: Abstract out mdesc accesses for better MD update handling. 2007-07-16 04:04:28 -07:00
Makefile [SPARC64]: Fix build regressions added by dr-cpu changes. 2007-07-16 04:04:49 -07:00
mdesc.c [SPARC64]: Fix handling of multiple vdc-port nodes. 2007-07-19 21:27:18 -07:00
module.c
of_device.c Create drivers/of/platform.c 2007-07-20 14:25:51 +10:00
pci_common.c [SPARC64]: Fix IO/MEM space sizing for PCI. 2007-06-13 00:01:19 -07:00
pci_fire.c [SPARC64]: Correct FIRE_IOMMU_FLUSHINV register offset. 2007-05-11 21:39:26 -07:00
pci_impl.h [SPARC64] PCI: Consolidate PCI access code into pci_common.c 2007-05-09 02:35:27 -07:00
pci_iommu.c [SPARC64]: Spelling fixes. 2007-05-11 21:39:21 -07:00
pci_psycho.c [SPARC64] PCI: Consolidate PCI access code into pci_common.c 2007-05-09 02:35:27 -07:00
pci_sabre.c [SPARC64]: Fix 2 bugs in PCI Sabre bus scanning. 2007-06-07 16:59:46 -07:00
pci_schizo.c [SPARC64] PCI: Consolidate PCI access code into pci_common.c 2007-05-09 02:35:27 -07:00
pci_sun4v_asm.S
pci_sun4v.c [SPARC64]: Negotiate hypervisor API for PCI services. 2007-05-29 02:49:34 -07:00
pci_sun4v.h
pci.c PCI: read revision ID by default 2007-07-11 16:02:09 -07:00
power.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
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
sbus.c [SPARC64]: Fix SBUS IRQ regression caused by PCI-E driver. 2007-06-07 16:59:51 -07:00
semaphore.c
setup.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
signal32.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
signal.c [SPARC64]: Kill bogus set_fs(KERNEL_DS) in do_rt_sigreturn(). 2007-07-17 14:37:54 -07:00
smp.c [SPARC64]: dr-cpu unconfigure support. 2007-07-16 04:05:32 -07:00
sparc64_ksyms.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sstate.c [SPARC64]: Report proper system soft state to the hypervisor. 2007-05-29 02:49:29 -07:00
stacktrace.c simplify the stacktrace code 2007-05-08 11:14:58 -07:00
starfire.c
sun4v_ivec.S [SPARC64]: Use machine description and OBP properly for cpu probing. 2007-05-29 02:49:41 -07:00
sun4v_tlb_miss.S
sunos_ioctl32.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys32.S
sys_sparc32.c [SPARC]: Add sys_fallocate() entries. 2007-07-19 21:26:47 -07:00
sys_sparc.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys_sunos32.c
sysfs.c [SPARC64]: More sensible udelay implementation. 2007-07-16 04:05:02 -07:00
systbls.S [SPARC]: Add sys_fallocate() entries. 2007-07-19 21:26:47 -07:00
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
tsb.S
ttable.S
una_asm.S
unaligned.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
us2e_cpufreq.c
us3_cpufreq.c
vio.c [SPARC64]: Fix log message type in vio_create_one(). 2007-07-19 21:28:53 -07:00
viohs.c [SPARC64]: Set vio->desc_buf to NULL after freeing. 2007-07-18 01:20:26 -07:00
visemul.c
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
winfixup.S