aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/virtio_console.h
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-12-21 11:57:31 -0500
committerRusty Russell <rusty@rustcorp.com.au>2010-02-23 22:53:00 -0500
commit1f7aa42d166cd104b0700d61efe2064178a3f6da (patch)
tree2c6f749da860955f754e8f7e49cbe6bd4ec6216a /include/linux/virtio_console.h
parent7f5d810dac70214d00b2440787535b6c7a73b6b7 (diff)
virtio: console: Add ability to hot-unplug ports
Remove port data; deregister from the hvc core if it's a console port. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/virtio_console.h')
-rw-r--r--include/linux/virtio_console.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h
index 1ebf007812a8..ae4f039515b4 100644
--- a/include/linux/virtio_console.h
+++ b/include/linux/virtio_console.h
@@ -41,6 +41,7 @@ struct virtio_console_control {
41#define VIRTIO_CONSOLE_RESIZE 2 41#define VIRTIO_CONSOLE_RESIZE 2
42#define VIRTIO_CONSOLE_PORT_OPEN 3 42#define VIRTIO_CONSOLE_PORT_OPEN 3
43#define VIRTIO_CONSOLE_PORT_NAME 4 43#define VIRTIO_CONSOLE_PORT_NAME 4
44#define VIRTIO_CONSOLE_PORT_REMOVE 5
44 45
45#ifdef __KERNEL__ 46#ifdef __KERNEL__
46int __init virtio_cons_early_init(int (*put_chars)(u32, const char *, int)); 47int __init virtio_cons_early_init(int (*put_chars)(u32, const char *, int));