Re: [PATCH] net: lpc_eth: Fix crash on ip link up

2014-09-02 Thread David Miller
From: sti...@antcom.de Date: Mon, 1 Sep 2014 13:46:46 +0200 > From: Roland Stigge > > 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 >

Re: [PATCH] net: lpc_eth: Fix crash on ip link up

2014-09-02 Thread David Miller
From: sti...@antcom.de Date: Mon, 1 Sep 2014 13:46:46 +0200 From: Roland Stigge sti...@antcom.de 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

[PATCH] net: lpc_eth: Fix crash on ip link up

2014-09-01 Thread stigge
From: Roland Stigge 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

[PATCH] net: lpc_eth: Fix crash on ip link up

2014-09-01 Thread stigge
From: Roland Stigge sti...@antcom.de 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