From: Roland Stigge Date: Mon, 1 Sep 2014 11:46:46 +0000 (+0200) Subject: net: lpc_eth: Fix crash on ip link up X-Git-Tag: fixes-for-v3.18-merge-window~162^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aff88a0695976596b39dcfa65da4896c802c938d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed