[POWERPC] Open Firmware serial port driver
authorArnd Bergmann <arnd@arndb.de>
Tue, 13 Feb 2007 20:35:38 +0000 (21:35 +0100)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 Feb 2007 00:50:04 +0000 (11:50 +1100)
commit8d38a5b2fab1397d35ba1c92828a91b77ce9f865
treed35295a7d137cd851107fff2fc32143ac630a176
parent775aeff44774c6933d8f9c14e1f325d8acd03136
[POWERPC] Open Firmware serial port driver

This can be used for serial ports that are connected to an
OF platform bus but are not autodetected by the lecacy
serial support.
It will automatically take over devices that come from the
legacy serial detection, which usually is only one device.

In some cases, rtas may be set up to use the serial port
in the firmware, which allows easier debugging before probing
the serial ports. In this case, the "used-by-rtas" property
must be set by the firmware. This patch also adds code to the
legacy serial driver to check for this.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/legacy_serial.c
drivers/serial/Kconfig
drivers/serial/Makefile
drivers/serial/of_serial.c [new file with mode: 0644]