projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a404c1f
)
Staging: hv: storvsc: Upgrade the vmstor protocol version
author
K. Y. Srinivasan
<kys@microsoft.com>
Tue, 8 Nov 2011 17:01:48 +0000
(09:01 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 27 Nov 2011 01:02:08 +0000
(17:02 -0800)
In preparation for supporting hot add/remove of scsi devices,
upgrade the vmstor protocol version.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/storvsc_drv.c
patch
|
blob
|
history
diff --git
a/drivers/staging/hv/storvsc_drv.c
b/drivers/staging/hv/storvsc_drv.c
index 4cdb417fd0f930eec975e9ad4073f3b2d9a0e23e..9153641f7946dce371f357fcc7a3c81efb348974 100644
(file)
--- a/
drivers/staging/hv/storvsc_drv.c
+++ b/
drivers/staging/hv/storvsc_drv.c
@@
-80,7
+80,7
@@
MODULE_PARM_DESC(storvsc_ringbuffer_size, "Ring buffer size (bytes)");
/* V1 Beta 0.1 */
/* V1 RC < 2008/1/31 1.0 */
/* V1 RC > 2008/1/31 2.0 */
-#define VMSTOR_PROTOCOL_VERSION_CURRENT VMSTOR_PROTOCOL_VERSION(
2, 0
)
+#define VMSTOR_PROTOCOL_VERSION_CURRENT VMSTOR_PROTOCOL_VERSION(
4, 2
)
@@
-106,7
+106,8
@@
enum vstor_packet_operation {
VSTOR_OPERATION_END_INITIALIZATION = 8,
VSTOR_OPERATION_QUERY_PROTOCOL_VERSION = 9,
VSTOR_OPERATION_QUERY_PROPERTIES = 10,
- VSTOR_OPERATION_MAXIMUM = 10
+ VSTOR_OPERATION_ENUMERATE_BUS = 11,
+ VSTOR_OPERATION_MAXIMUM = 11
};
/*