diff options
Diffstat (limited to 'include/linux/hyperv.h')
| -rw-r--r-- | include/linux/hyperv.h | 44 |
1 files changed, 5 insertions, 39 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index a3b8b2e2d244..15da677478dd 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
| @@ -30,10 +30,13 @@ | |||
| 30 | /* | 30 | /* |
| 31 | * Framework version for util services. | 31 | * Framework version for util services. |
| 32 | */ | 32 | */ |
| 33 | #define UTIL_FW_MINOR 0 | ||
| 34 | |||
| 35 | #define UTIL_WS2K8_FW_MAJOR 1 | ||
| 36 | #define UTIL_WS2K8_FW_VERSION (UTIL_WS2K8_FW_MAJOR << 16 | UTIL_FW_MINOR) | ||
| 33 | 37 | ||
| 34 | #define UTIL_FW_MAJOR 3 | 38 | #define UTIL_FW_MAJOR 3 |
| 35 | #define UTIL_FW_MINOR 0 | 39 | #define UTIL_FW_VERSION (UTIL_FW_MAJOR << 16 | UTIL_FW_MINOR) |
| 36 | #define UTIL_FW_MAJOR_MINOR (UTIL_FW_MAJOR << 16 | UTIL_FW_MINOR) | ||
| 37 | 40 | ||
| 38 | 41 | ||
| 39 | /* | 42 | /* |
| @@ -429,15 +432,6 @@ struct hv_ring_buffer_info { | |||
| 429 | u32 ring_data_startoffset; | 432 | u32 ring_data_startoffset; |
| 430 | }; | 433 | }; |
| 431 | 434 | ||
| 432 | struct hv_ring_buffer_debug_info { | ||
| 433 | u32 current_interrupt_mask; | ||
| 434 | u32 current_read_index; | ||
| 435 | u32 current_write_index; | ||
| 436 | u32 bytes_avail_toread; | ||
| 437 | u32 bytes_avail_towrite; | ||
| 438 | }; | ||
| 439 | |||
| 440 | |||
| 441 | /* | 435 | /* |
| 442 | * | 436 | * |
| 443 | * hv_get_ringbuffer_availbytes() | 437 | * hv_get_ringbuffer_availbytes() |
| @@ -899,23 +893,6 @@ enum vmbus_channel_state { | |||
| 899 | CHANNEL_OPENED_STATE, | 893 | CHANNEL_OPENED_STATE, |
| 900 | }; | 894 | }; |
| 901 | 895 | ||
| 902 | struct vmbus_channel_debug_info { | ||
| 903 | u32 relid; | ||
| 904 | enum vmbus_channel_state state; | ||
| 905 | uuid_le interfacetype; | ||
| 906 | uuid_le interface_instance; | ||
| 907 | u32 monitorid; | ||
| 908 | u32 servermonitor_pending; | ||
| 909 | u32 servermonitor_latency; | ||
| 910 | u32 servermonitor_connectionid; | ||
| 911 | u32 clientmonitor_pending; | ||
| 912 | u32 clientmonitor_latency; | ||
| 913 | u32 clientmonitor_connectionid; | ||
| 914 | |||
| 915 | struct hv_ring_buffer_debug_info inbound; | ||
| 916 | struct hv_ring_buffer_debug_info outbound; | ||
| 917 | }; | ||
| 918 | |||
| 919 | /* | 896 | /* |
| 920 | * Represents each channel msg on the vmbus connection This is a | 897 | * Represents each channel msg on the vmbus connection This is a |
| 921 | * variable-size data structure depending on the msg type itself | 898 | * variable-size data structure depending on the msg type itself |
| @@ -1181,19 +1158,8 @@ extern int vmbus_recvpacket_raw(struct vmbus_channel *channel, | |||
| 1181 | u64 *requestid); | 1158 | u64 *requestid); |
| 1182 | 1159 | ||
| 1183 | 1160 | ||
| 1184 | extern void vmbus_get_debug_info(struct vmbus_channel *channel, | ||
| 1185 | struct vmbus_channel_debug_info *debug); | ||
| 1186 | |||
| 1187 | extern void vmbus_ontimer(unsigned long data); | 1161 | extern void vmbus_ontimer(unsigned long data); |
| 1188 | 1162 | ||
| 1189 | struct hv_dev_port_info { | ||
| 1190 | u32 int_mask; | ||
| 1191 | u32 read_idx; | ||
| 1192 | u32 write_idx; | ||
| 1193 | u32 bytes_avail_toread; | ||
| 1194 | u32 bytes_avail_towrite; | ||
| 1195 | }; | ||
| 1196 | |||
| 1197 | /* Base driver object */ | 1163 | /* Base driver object */ |
| 1198 | struct hv_driver { | 1164 | struct hv_driver { |
| 1199 | const char *name; | 1165 | const char *name; |
