Module Name: src
Committed By: christos
Date: Tue Oct 27 16:04:05 UTC 2015
Modified Files:
src/sys/dev/pci: virtioreg.h
Log Message:
add the common flag bits
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/virtioreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/virtioreg.h
diff -u src/sys/dev/pci/virtioreg.h:1.4 src/sys/dev/pci/virtioreg.h:1.5
--- src/sys/dev/pci/virtioreg.h:1.4 Sun Oct 25 21:44:48 2015
+++ src/sys/dev/pci/virtioreg.h Tue Oct 27 12:04:05 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: virtioreg.h,v 1.4 2015/10/26 01:44:48 ozaki-r Exp $ */
+/* $NetBSD: virtioreg.h,v 1.5 2015/10/27 16:04:05 christos Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -100,6 +100,13 @@
#define VIRTIO_CONFIG_MSI_CONFIG_VECTOR 20
#define VIRTIO_CONFIG_MSI_QUEUE_VECTOR 22
+#define VIRTIO_COMMON_FLAG_BITS \
+ "\20" \
+ "\x1f""BAD_FEATURE" \
+ "\x1e""EVENT_IDX" \
+ "\x1d""INDIRECT_DESC" \
+ "\x19""NOTIFY_ON_EMPTY"
+
/* Virtqueue */
/* This marks a buffer as continuing via the next field. */
#define VRING_DESC_F_NEXT 1