diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-12-01 06:46:44 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 11:34:37 -0800 |
commit | eafa7072e7cd806dff42b705284ca26189e527a4 (patch) | |
tree | c0faadbf1e856339edabe9e750f8a5749c6424cf /drivers/hv/connection.c | |
parent | 21c3bef5db359596806f19fee6c3ec0c033881d0 (diff) |
Drivers: hv: Move vmbus version definitions to hyperv.h
To support version specific optimization in various vmbus drivers,
move the vmbus definitions to the public header file.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/connection.c')
-rw-r--r-- | drivers/hv/connection.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index 0d8b13290e93..56b14e57bdd8 100644 --- a/drivers/hv/connection.c +++ b/drivers/hv/connection.c @@ -41,21 +41,6 @@ struct vmbus_connection vmbus_connection = { }; /* - * VMBUS version is 32 bit entity broken up into - * two 16 bit quantities: major_number. minor_number. - * - * 0 . 13 (Windows Server 2008) - * 1 . 1 (Windows 7) - * 2 . 4 (Windows 8) - */ - -#define VERSION_WS2008 ((0 << 16) | (13)) -#define VERSION_WIN7 ((1 << 16) | (1)) -#define VERSION_WIN8 ((2 << 16) | (4)) - -#define VERSION_INVAL -1 - -/* * Negotiated protocol version with the host. */ __u32 vmbus_proto_version; |