git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0486a06
)
net: lpc_eth: Fix crash on ip link up
author
Roland Stigge
<stigge@antcom.de>
Mon, 1 Sep 2014 11:46:46 +0000
(13:46 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 2 Sep 2014 20:21:55 +0000
(13:21 -0700)
When a link is already up, the following sequence makes the kernel
block completely:
ip link set dev eth0 down
ip link set dev eth0 up
This is because on suspended phy, the following lines
__lpc_eth_reset(pldat);
__lpc_eth_init(pldat);
make the LPC ethernet core block (see LPC32x0 manual). The PHY needs to be
(re-)activated low-level first.
Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nxp/lpc_eth.c
patch
|
blob
|
history
diff --cc
drivers/net/ethernet/nxp/lpc_eth.c
Simple merge