]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitb6342dbb7d6464a04237eaba90114a91e73b4c61
treed35295a7d137cd851107fff2fc32143ac630a176
parente5cf45aac0b5a1fff4a8e84065d4c2b77e464f7f
[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]