projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx4_core: Load the Eth driver first
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
rionet.c
diff --git
a/drivers/net/rionet.c
b/drivers/net/rionet.c
index 6d1f6ed3113fc1a0604e2db595989bd48c386c3a..a8497183ff8b079985b7930fd5eb26dc9fb44813 100644
(file)
--- a/
drivers/net/rionet.c
+++ b/
drivers/net/rionet.c
@@
-493,6
+493,7
@@
static int rionet_setup_netdev(struct rio_mport *mport, struct net_device *ndev)
ndev->netdev_ops = &rionet_netdev_ops;
ndev->mtu = RIO_MAX_MSG_SIZE - 14;
ndev->features = NETIF_F_LLTX;
+ SET_NETDEV_DEV(ndev, &mport->dev);
SET_ETHTOOL_OPS(ndev, &rionet_ethtool_ops);
spin_lock_init(&rnet->lock);