mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Reviewed-by: Haiyang Zhang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
21c3bef5db
commit
eafa7072e7
2 changed files with 15 additions and 15 deletions
|
|
@ -40,21 +40,6 @@ struct vmbus_connection vmbus_connection = {
|
|||
.next_gpadl_handle = ATOMIC_INIT(0xE1E10),
|
||||
};
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue