aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <sthemmin@microsoft.com>2016-09-23 20:08:17 -0400
committerDavid S. Miller <davem@davemloft.net>2016-09-24 09:36:12 -0400
commitc6a77ff82fb849534748719f37f3f9086d78ed39 (patch)
tree007a800ba5b59e23cb9cbfeca2f3d7ec5e19a7cd /drivers
parent15a09901dc8f107e7fa8589e92f2e8f5a0e5da6f (diff)
hv_netvsc: fix comments
Typo's and spelling errors. Also remove old comment from staging era. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/hyperv/hyperv_net.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h
index 7130bf910f52..f4fbcb5aa24a 100644
--- a/drivers/net/hyperv/hyperv_net.h
+++ b/drivers/net/hyperv/hyperv_net.h
@@ -433,7 +433,7 @@ struct nvsp_1_message_revoke_send_buffer {
433 */ 433 */
434struct nvsp_1_message_send_rndis_packet { 434struct nvsp_1_message_send_rndis_packet {
435 /* 435 /*
436 * This field is specified by RNIDS. They assume there's two different 436 * This field is specified by RNDIS. They assume there's two different
437 * channels of communication. However, the Network VSP only has one. 437 * channels of communication. However, the Network VSP only has one.
438 * Therefore, the channel travels with the RNDIS packet. 438 * Therefore, the channel travels with the RNDIS packet.
439 */ 439 */
@@ -578,7 +578,7 @@ struct nvsp_5_send_indirect_table {
578 /* The number of entries in the send indirection table */ 578 /* The number of entries in the send indirection table */
579 u32 count; 579 u32 count;
580 580
581 /* The offset of the send indireciton table from top of this struct. 581 /* The offset of the send indirection table from top of this struct.
582 * The send indirection table tells which channel to put the send 582 * The send indirection table tells which channel to put the send
583 * traffic on. Each entry is a channel number. 583 * traffic on. Each entry is a channel number.
584 */ 584 */
@@ -734,7 +734,6 @@ struct netvsc_device {
734 struct nvsp_message channel_init_pkt; 734 struct nvsp_message channel_init_pkt;
735 735
736 struct nvsp_message revoke_packet; 736 struct nvsp_message revoke_packet;
737 /* unsigned char HwMacAddr[HW_MACADDR_LEN]; */
738 737
739 struct vmbus_channel *chn_table[VRSS_CHANNEL_MAX]; 738 struct vmbus_channel *chn_table[VRSS_CHANNEL_MAX];
740 u32 send_table[VRSS_SEND_TAB_SIZE]; 739 u32 send_table[VRSS_SEND_TAB_SIZE];
@@ -1239,7 +1238,7 @@ struct rndis_message {
1239 u32 ndis_msg_type; 1238 u32 ndis_msg_type;
1240 1239
1241 /* Total length of this message, from the beginning */ 1240 /* Total length of this message, from the beginning */
1242 /* of the sruct rndis_message, in bytes. */ 1241 /* of the struct rndis_message, in bytes. */
1243 u32 msg_len; 1242 u32 msg_len;
1244 1243
1245 /* Actual message */ 1244 /* Actual message */