aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/virtio_net.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_net.h
parent3a20210dc26bbfff3bbb48bb22d2846240b71d8f (diff)
downloadkernel_goldelico_gta04-3ca4f5ca73057a617f9444a91022d7127041970a.zip
kernel_goldelico_gta04-3ca4f5ca73057a617f9444a91022d7127041970a.tar.gz
kernel_goldelico_gta04-3ca4f5ca73057a617f9444a91022d7127041970a.tar.bz2
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_net.h')
-rw-r--r--include/linux/virtio_net.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/virtio_net.h b/include/linux/virtio_net.h
index d8dd539..1f41734 100644
--- a/include/linux/virtio_net.h
+++ b/include/linux/virtio_net.h
@@ -6,9 +6,6 @@
#include <linux/virtio_config.h>
#include <linux/if_ether.h>
-/* The ID for virtio_net */
-#define VIRTIO_ID_NET 1
-
/* The feature bitmap for virtio net */
#define VIRTIO_NET_F_CSUM 0 /* Host handles pkts w/ partial csum */
#define VIRTIO_NET_F_GUEST_CSUM 1 /* Guest handles pkts w/ partial csum */