diff options
author | 2012-12-01 06:46:38 -0800 | |
---|---|---|
committer | 2013-01-17 11:34:36 -0800 | |
commit | 610071c38463998d5a66388ff9956aaeb24b49a8 (patch) | |
tree | a5ddb26924b8c328e016bd8004a0b33dfbd78c59 /include | |
parent | Drivers: hv: Get rid of hv_get_ringbuffer_interrupt_mask() (diff) | |
download | linux-610071c38463998d5a66388ff9956aaeb24b49a8.tar.gz linux-610071c38463998d5a66388ff9956aaeb24b49a8.tar.bz2 linux-610071c38463998d5a66388ff9956aaeb24b49a8.zip |
Drivers: hv: Support handling multiple VMBUS versions
The current code hard coded the vmbus version independent of the host
it was running on. Add code to dynamically negotiate the most appropriate
version.
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 'include')
-rw-r--r-- | include/linux/hyperv.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 1ffe84de6c55..b097bf9d9328 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -406,12 +406,6 @@ hv_get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi, #define HV_DRV_VERSION "3.1" -/* - * A revision number of vmbus that is used for ensuring both ends on a - * partition are using compatible versions. - */ -#define VMBUS_REVISION_NUMBER 13 - /* Make maximum size of pipe payload of 16K */ #define MAX_PIPE_DATA_PAYLOAD (sizeof(u8) * 16384) |