]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/tty/Kconfig
tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver
authorTimur Tabi <timur@freescale.com>
Sat, 9 Jul 2011 00:06:12 +0000 (19:06 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 17:32:56 +0000 (10:32 -0700)
commitdcd83aaff1c8cbd5b48c152b559e0af3ea1a7b65
tree536ce3416fd908f0506899b371d86fb21171078c
parentfcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c
tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver

The ePAPR embedded hypervisor specification provides an API for "byte
channels", which are serial-like virtual devices for sending and receiving
streams of bytes.  This driver provides Linux kernel support for byte
channels via three distinct interfaces:

1) An early-console (udbg) driver.  This provides early console output
through a byte channel.  The byte channel handle must be specified in a
Kconfig option.

2) A normal console driver.  Output is sent to the byte channel designated
for stdout in the device tree.  The console driver is for handling kernel
printk calls.

3) A tty driver, which is used to handle user-space input and output.  The
byte channel used for the console is designated as the default tty.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/include/asm/udbg.h
arch/powerpc/kernel/udbg.c
drivers/tty/Kconfig
drivers/tty/Makefile
drivers/tty/ehv_bytechan.c [new file with mode: 0644]