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

@@ -5,9 +5,6 @@
#include <linux/types.h>
#include <linux/virtio_config.h>
/* The ID for virtio_block */
#define VIRTIO_ID_BLOCK 2
/* Feature bits */
#define VIRTIO_BLK_F_BARRIER 0 /* Does host support barriers? */
#define VIRTIO_BLK_F_SIZE_MAX 1 /* Indicates maximum segment size */