projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13399cb
)
Staging: convert hv network driver to hw_features
author
Michał Mirosław
<mirq-linux@rere.qmqm.pl>
Tue, 19 Apr 2011 10:43:20 +0000
(12:43 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 20 Apr 2011 20:43:16 +0000
(13:43 -0700)
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/netvsc_drv.c
patch
|
blob
|
history
diff --git
a/drivers/staging/hv/netvsc_drv.c
b/drivers/staging/hv/netvsc_drv.c
index
258233d
..
096a732
100644
(file)
--- a/
drivers/staging/hv/netvsc_drv.c
+++ b/
drivers/staging/hv/netvsc_drv.c
@@
-309,8
+309,6
@@
static void netvsc_get_drvinfo(struct net_device *net,
static const struct ethtool_ops ethtool_ops = {
.get_drvinfo = netvsc_get_drvinfo,
- .get_sg = ethtool_op_get_sg,
- .set_sg = ethtool_op_set_sg,
.get_link = ethtool_op_get_link,
};
@@
-397,6
+395,7
@@
static int netvsc_probe(struct device *device)
net->netdev_ops = &device_ops;
/* TODO: Add GSO and Checksum offload */
+ net->hw_features = NETIF_F_SG;
net->features = NETIF_F_SG;
SET_ETHTOOL_OPS(net, ðtool_ops);