Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci add the common flag bits
details: https://anonhg.NetBSD.org/src/rev/1de10d283acc
branches: trunk
changeset: 341241:1de10d283acc
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 27 16:04:05 2015 +0000
description:
add the common flag bits
diffstat:
sys/dev/pci/virtioreg.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r cf9b673dde64 -r 1de10d283acc sys/dev/pci/virtioreg.h
--- a/sys/dev/pci/virtioreg.h Tue Oct 27 16:03:04 2015 +0000
+++ b/sys/dev/pci/virtioreg.h Tue Oct 27 16:04:05 2015 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index