kernel-ark/drivers/serial
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
..
cpm_uart
jsm
8250_accent.c
8250_acorn.c
8250_au1x00.c
8250_boca.c
8250_early.c
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c
8250_pnp.c
8250.c
8250.h
21285.c
68328serial.c
68328serial.h
68360serial.c
amba-pl010.c
amba-pl011.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
atmel_serial.c
atmel_serial.h
bfin_5xx.c
clps711x.c
crisv10.c
dz.c
dz.h
icom.c
icom.h
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
Kconfig zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
m32r_sio_reg.h
m32r_sio.c
m32r_sio.h
Makefile zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
mcfserial.c
mcfserial.h
mpc52xx_uart.c
mpsc.c
mux.c
netx-serial.c
of_serial.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
s3c2410.c
sa1100.c
sb1250-duart.c
serial_core.c
serial_cs.c
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c
sh-sci.c
sh-sci.h
sn_console.c
suncore.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
suncore.h [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunhv.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunsab.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunsab.h
sunsu.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunzilog.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
sunzilog.h
uartlite.c
v850e_uart.c
vr41xx_siu.c
zs.c zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
zs.h zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00