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: eth: altera: Fix the initial device operstate
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
ethernet
/
altera
/
altera_tse_main.c
diff --git
a/drivers/net/ethernet/altera/altera_tse_main.c
b/drivers/net/ethernet/altera/altera_tse_main.c
index 8207877d623760d733401a621c4c3f37ecab6cd7..fe644823ceaf951139a55fdeeb910058ecad6cd1 100644
(file)
--- a/
drivers/net/ethernet/altera/altera_tse_main.c
+++ b/
drivers/net/ethernet/altera/altera_tse_main.c
@@
-1517,6
+1517,7
@@
static int altera_tse_probe(struct platform_device *pdev)
spin_lock_init(&priv->tx_lock);
spin_lock_init(&priv->rxdma_irq_lock);
+ netif_carrier_off(ndev);
ret = register_netdev(ndev);
if (ret) {
dev_err(&pdev->dev, "failed to register TSE net device\n");