summaryrefslogtreecommitdiff
path: root/include/linux/virtio_blk.h
diff options
context:
space:
mode:
authorFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>2009-07-31 15:25:56 +0900
committerRusty Russell <rusty@rustcorp.com.au>2009-09-23 22:26:32 +0930
commit3ca4f5ca73057a617f9444a91022d7127041970a (patch)
tree382659da29ad0a2e9878df6c7c4204913ab642e7 /include/linux/virtio_blk.h
parent3a20210dc26bbfff3bbb48bb22d2846240b71d8f (diff)
downloadlinux-rpi-3ca4f5ca73057a617f9444a91022d7127041970a.tar.gz
linux-rpi-3ca4f5ca73057a617f9444a91022d7127041970a.tar.bz2
linux-rpi-3ca4f5ca73057a617f9444a91022d7127041970a.zip
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>
Diffstat (limited to 'include/linux/virtio_blk.h')
-rw-r--r--include/linux/virtio_blk.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/virtio_blk.h b/include/linux/virtio_blk.h
index 8dab9f2b8832..25fbabfa90d4 100644
--- a/include/linux/virtio_blk.h
+++ b/include/linux/virtio_blk.h
@@ -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 */