virtio: add virtio IDs file

Virtio IDs are spread all over the tree which makes assigning new IDs
bothersome. Putting them together should make the process less error-prone.

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Fernando Luis Vazquez Cao
2009-07-31 15:25:56 +09:00
committed by Rusty Russell
parent 3a20210dc2
commit 3ca4f5ca73
14 changed files with 24 additions and 17 deletions

View File

@@ -4,8 +4,6 @@
* compatible drivers/servers. */
#include <linux/virtio_config.h>
/* The ID for virtio console */
#define VIRTIO_ID_9P 9
/* Maximum number of virtio channels per partition (1 for now) */
#define MAX_9P_CHAN 1