aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/Kconfig
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2008-11-05 09:20:17 -0500
committerPaul Mackerras <paulus@samba.org>2008-11-19 00:04:25 -0500
commitd5e54913433fff89609adfc4b96fefcf807a9030 (patch)
tree6ab66827c98837a86a2b4f0e77732c43238db5a0 /drivers/char/Kconfig
parent8c6531868d4917adbd363030f28a734b76c7471a (diff)
powerpc: udbg-based backend for hvc_console
This adds a new backend for the hvc console based on the low-level udbg callbacks. This effectively implements a working runtime console in terms of the simple udbg primitives. This is kind of a hack - since udbg isn't something you really want to be using routinely - but it's really useful during bringup. This can be used to quickly implement a userspace-usable console while you're working on a proper driver for whatever console I/O device the hardware has. Or, it can be used to avoid writing a full blown tty/console driver entirely for quick-and-dirty I/O hardware that will later be replaced by something else. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r--drivers/char/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 43b35d0369d6..19e255c49f15 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -631,6 +631,12 @@ config HVC_XEN
631 help 631 help
632 Xen virtual console device driver 632 Xen virtual console device driver
633 633
634config HVC_UDBG
635 bool "udbg based fake hypervisor console"
636 depends on PPC && EXPERIMENTAL
637 select HVC_DRIVER
638 default n
639
634config VIRTIO_CONSOLE 640config VIRTIO_CONSOLE
635 tristate "Virtio console" 641 tristate "Virtio console"
636 depends on VIRTIO 642 depends on VIRTIO