[PATCH 1/5] xen/sndif: Introduce protocol version

From: Oleksandr Andrushchenko
Date: Thu Apr 12 2018 - 12:01:35 EST


Protocol version was referenced in the protocol description,
but missed its definition. Fix this by adding a constant
for current protocol version.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx>
---
include/xen/interface/io/sndif.h | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/include/xen/interface/io/sndif.h b/include/xen/interface/io/sndif.h
index 5c918276835e..fc1752cf5a16 100644
--- a/include/xen/interface/io/sndif.h
+++ b/include/xen/interface/io/sndif.h
@@ -36,6 +36,13 @@
#include "ring.h"
#include "../grant_table.h"

+/*
+ ******************************************************************************
+ * Protocol version
+ ******************************************************************************
+ */
+#define XENSND_PROTOCOL_VERSION 1
+
/*
******************************************************************************
* Feature and Parameter Negotiation
--
2.17.0