]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: hv: netvsc: Get rid of the usage of the ext field in struct hv_device
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 13 Sep 2011 17:59:49 +0000 (10:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Sep 2011 18:06:03 +0000 (20:06 +0200)
commit2ddd5e5fb342b9f014d61941a4f73c0bd9b50a60
tree1c84e45f3409a24899b5ae4e2e4875c69f69f846
parentcd654ea1cc72aed95e871971d87c4a988924fdda
Staging: hv: netvsc: Get rid of the usage of the ext field in struct hv_device

Now, eliminate the usage of ext field in struct  hv_device for netvsc driver.
We do this by registering pointer to struct netvsc_device as the driver
specific data and eliminating the current usage of driver specific data
to save and retrieve the pointer to struct net_device.
Additionally, all access to the driver specific data is through
the vmbus wrapper functions. As part of this cleanup, we also get rid
of some unnecessary debug print statements.

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/hyperv_net.h
drivers/staging/hv/netvsc.c
drivers/staging/hv/netvsc_drv.c
drivers/staging/hv/rndis_filter.c