aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-18 20:43:20 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-20 04:30:40 -0400
commit8727bfaa8a723009e9c6eb1bb57b90ebdb0a4126 (patch)
tree40c3fedfdc3f6af7e36e42a0a63a50101c9b3a48
parent97dbee73978497c615a46d324e4f5629b9772f86 (diff)
Staging: convert hv network driver to hw_features
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/staging/hv/netvsc_drv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c
index 33973568214f..aaa81883f0ad 100644
--- a/drivers/staging/hv/netvsc_drv.c
+++ b/drivers/staging/hv/netvsc_drv.c
@@ -317,8 +317,6 @@ static void netvsc_get_drvinfo(struct net_device *net,
317 317
318static const struct ethtool_ops ethtool_ops = { 318static const struct ethtool_ops ethtool_ops = {
319 .get_drvinfo = netvsc_get_drvinfo, 319 .get_drvinfo = netvsc_get_drvinfo,
320 .get_sg = ethtool_op_get_sg,
321 .set_sg = ethtool_op_set_sg,
322 .get_link = ethtool_op_get_link, 320 .get_link = ethtool_op_get_link,
323}; 321};
324 322
@@ -406,6 +404,7 @@ static int netvsc_probe(struct device *device)
406 net->netdev_ops = &device_ops; 404 net->netdev_ops = &device_ops;
407 405
408 /* TODO: Add GSO and Checksum offload */ 406 /* TODO: Add GSO and Checksum offload */
407 net->hw_features = NETIF_F_SG;
409 net->features = NETIF_F_SG; 408 net->features = NETIF_F_SG;
410 409
411 SET_ETHTOOL_OPS(net, &ethtool_ops); 410 SET_ETHTOOL_OPS(net, &ethtool_ops);