]> err.no Git - linux-2.6/commit
[PATCH] powerpc: serial port discovery (#2)
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 23 Nov 2005 06:56:06 +0000 (17:56 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:49:50 +0000 (14:49 +1100)
commit463ce0e103f419f51b1769111e73fe8bb305d0ec
treeb4ffced87b886d81b518790fcaf841dd006e8068
parentd1405b869850982f05c7ec0d3f137ca27588192f
[PATCH] powerpc: serial port discovery (#2)

This moves the discovery of legacy serial ports to a separate file,
makes it common to ppc32 and ppc64, and reworks it to use the new OF
address translators to get to the ports early. This new version can also
detect some PCI serial cards using legacy chips and will probably match
those discovered port with the default console choice.

Only ppc64 gets udbg still yet, unifying udbg isn't finished yet.

It also adds some speed-probing code to udbg so that the default console
can come up at the same speed it was set to by the firmware.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
15 files changed:
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/legacy_serial.c [new file with mode: 0644]
arch/powerpc/kernel/pci_64.c
arch/powerpc/kernel/setup-common.c
arch/powerpc/kernel/setup_32.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/kernel/udbg.c
arch/powerpc/kernel/udbg_16550.c
arch/powerpc/platforms/maple/setup.c
arch/powerpc/platforms/pseries/lpar.c
arch/powerpc/platforms/pseries/setup.c
arch/ppc/kernel/pci.c
include/asm-powerpc/pci-bridge.h
include/asm-powerpc/serial.h
include/asm-powerpc/udbg.h