OpenCloudOS-Kernel/drivers/net/ethernet/nxp
Roland Stigge aff88a0695 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>
2014-09-02 13:21:55 -07:00
..
Kconfig lpc32xx: Added ethernet driver 2012-03-12 17:08:34 -07:00
Makefile lpc32xx: Added ethernet driver 2012-03-12 17:08:34 -07:00
lpc_eth.c net: lpc_eth: Fix crash on ip link up 2014-09-02 13:21:55 -07:00