Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362394
b: refs/heads/master
c: b50b72d
h: refs/heads/master
v: v3
  • Loading branch information
willy tarreau authored and David S. Miller committed Apr 8, 2013
1 parent 9874c31 commit e6c6d59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1ea3cd70110d482ef1ce6ef158df113aa366f43
refs/heads/master: b50b72de2f2feed4adfbd8e18610a393b5a04cc7
9 changes: 5 additions & 4 deletions trunk/drivers/net/ethernet/marvell/mvneta.c
Original file line number Diff line number Diff line change
Expand Up @@ -2771,16 +2771,17 @@ static int mvneta_probe(struct platform_device *pdev)

netif_napi_add(dev, &pp->napi, mvneta_poll, pp->weight);

dev->features = NETIF_F_SG | NETIF_F_IP_CSUM;
dev->hw_features |= NETIF_F_SG | NETIF_F_IP_CSUM;
dev->vlan_features |= NETIF_F_SG | NETIF_F_IP_CSUM;
dev->priv_flags |= IFF_UNICAST_FLT;

err = register_netdev(dev);
if (err < 0) {
dev_err(&pdev->dev, "failed to register\n");
goto err_deinit;
}

dev->features = NETIF_F_SG | NETIF_F_IP_CSUM;
dev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM;
dev->priv_flags |= IFF_UNICAST_FLT;

netdev_info(dev, "mac: %pM\n", dev->dev_addr);

platform_set_drvdata(pdev, pp->dev);
Expand Down

0 comments on commit e6c6d59

Please sign in to comment.