]> Git Repo - linux.git/blobdiff - include/linux/virtio_console.h
virtio: console: Let host know of port or device add failures
[linux.git] / include / linux / virtio_console.h
index ae4f039515b441f3407d88da1e2172a78bab2e5b..015736113c2577bcb3b19c177afa26bedd1fb4db 100644 (file)
@@ -14,6 +14,8 @@
 #define VIRTIO_CONSOLE_F_SIZE  0       /* Does host provide console size? */
 #define VIRTIO_CONSOLE_F_MULTIPORT 1   /* Does host provide multiple ports? */
 
+#define VIRTIO_CONSOLE_BAD_ID          (~(u32)0)
+
 struct virtio_console_config {
        /* colums of the screens */
        __u16 cols;
@@ -42,6 +44,7 @@ struct virtio_console_control {
 #define VIRTIO_CONSOLE_PORT_OPEN       3
 #define VIRTIO_CONSOLE_PORT_NAME       4
 #define VIRTIO_CONSOLE_PORT_REMOVE     5
+#define VIRTIO_CONSOLE_DEVICE_READY    6
 
 #ifdef __KERNEL__
 int __init virtio_cons_early_init(int (*put_chars)(u32, const char *, int));
This page took 0.033498 seconds and 4 git commands to generate.