diff options
author | Roland Stigge <stigge@antcom.de> | 2014-09-01 11:46:46 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-02 20:21:55 (GMT) |
commit | aff88a0695976596b39dcfa65da4896c802c938d (patch) | |
tree | 901808d7641ffc5c2b94997945cba1b5fc4748b6 /drivers/phy/phy-xgene.c | |
parent | 0486a063b1ffce4f37ef80970689c64bf7b99e98 (diff) | |
download | linux-aff88a0695976596b39dcfa65da4896c802c938d.tar.xz |
net: lpc_eth: Fix crash on ip link up
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>
Diffstat (limited to 'drivers/phy/phy-xgene.c')
0 files changed, 0 insertions, 0 deletions