search for: net_device_obj

Displaying 6 results from an estimated 6 matches for "net_device_obj".

2011 Feb 26
2
[PATCH 3/6] Staging: hv: Cleanup hyperv_device variable names
...}; @@ -75,8 +75,8 @@ static void netvsc_set_multicast_list(struct net_device *net) static int netvsc_open(struct net_device *net) { - struct net_device_context *net_device_ctx = netdev_priv(net); - struct hyperv_device *device_obj = net_device_ctx->device_ctx; + struct net_device_context *net_device_obj = netdev_priv(net); + struct hyperv_device *device_obj = net_device_obj->device_obj; int ret = 0; if (netif_carrier_ok(net)) { @@ -98,8 +98,8 @@ static int netvsc_open(struct net_device *net) static int netvsc_close(struct net_device *net) { - struct net_device_context *net_device_ctx...
2011 Feb 26
2
[PATCH 3/6] Staging: hv: Cleanup hyperv_device variable names
...}; @@ -75,8 +75,8 @@ static void netvsc_set_multicast_list(struct net_device *net) static int netvsc_open(struct net_device *net) { - struct net_device_context *net_device_ctx = netdev_priv(net); - struct hyperv_device *device_obj = net_device_ctx->device_ctx; + struct net_device_context *net_device_obj = netdev_priv(net); + struct hyperv_device *device_obj = net_device_obj->device_obj; int ret = 0; if (netif_carrier_ok(net)) { @@ -98,8 +98,8 @@ static int netvsc_open(struct net_device *net) static int netvsc_close(struct net_device *net) { - struct net_device_context *net_device_ctx...
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
...ich is a bug FIXME! */ - struct hyperv_driver drv_ctx; + struct hyperv_driver drv; struct netvsc_driver drv_obj; }; @@ -135,11 +135,11 @@ static void netvsc_xmit_completion(void *context) static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) { struct net_device_context *net_device_obj = netdev_priv(net); - struct hyperv_driver *driver_ctx = + struct hyperv_driver *drv = driver_to_hyperv_driver(net_device_obj->device_obj->device.driver); - struct netvsc_hyperv_driver *net_drv_ctx = - (struct netvsc_hyperv_driver *)driver_ctx; - struct netvsc_driver *net_drv_obj = &am...
2011 Feb 26
2
[PATCH 6/6] Staging: hv: Cleanup hyperv_driver variable names
...ich is a bug FIXME! */ - struct hyperv_driver drv_ctx; + struct hyperv_driver drv; struct netvsc_driver drv_obj; }; @@ -135,11 +135,11 @@ static void netvsc_xmit_completion(void *context) static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) { struct net_device_context *net_device_obj = netdev_priv(net); - struct hyperv_driver *driver_ctx = + struct hyperv_driver *drv = driver_to_hyperv_driver(net_device_obj->device_obj->device.driver); - struct netvsc_hyperv_driver *net_drv_ctx = - (struct netvsc_hyperv_driver *)driver_ctx; - struct netvsc_driver *net_drv_obj = &am...
2011 Feb 26
1
[PATCH 5/6] Staging: hv: Rename driver_context to hyperv_driver
...#39;t return -EINVAL when modifying the the * multicast address list in SIOCADDMULTI. hv is setup to get all multicast @@ -135,10 +135,10 @@ static void netvsc_xmit_completion(void *context) static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) { struct net_device_context *net_device_obj = netdev_priv(net); - struct driver_context *driver_ctx = - driver_to_driver_context(net_device_obj->device_obj->device.driver); - struct netvsc_driver_context *net_drv_ctx = - (struct netvsc_driver_context *)driver_ctx; + struct hyperv_driver *driver_ctx = + driver_to_hyperv_driver(...
2011 Feb 26
1
[PATCH 5/6] Staging: hv: Rename driver_context to hyperv_driver
...#39;t return -EINVAL when modifying the the * multicast address list in SIOCADDMULTI. hv is setup to get all multicast @@ -135,10 +135,10 @@ static void netvsc_xmit_completion(void *context) static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) { struct net_device_context *net_device_obj = netdev_priv(net); - struct driver_context *driver_ctx = - driver_to_driver_context(net_device_obj->device_obj->device.driver); - struct netvsc_driver_context *net_drv_ctx = - (struct netvsc_driver_context *)driver_ctx; + struct hyperv_driver *driver_ctx = + driver_to_hyperv_driver(...