From: Michał Mirosław Date: Tue, 19 Apr 2011 00:43:20 +0000 (+0000) Subject: Staging: convert hv network driver to hw_features X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8727bfaa8a723009e9c6eb1bb57b90ebdb0a4126;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Staging: convert hv network driver to hw_features Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller --- 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, 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, }; @@ -406,6 +404,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);