From: Giuseppe CAVALLARO Date: Wed, 6 Feb 2013 20:47:52 +0000 (+0000) Subject: stmmac: mdio register has to fail if the phy is not found X-Git-Tag: v3.8~10^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3955b22b9798ae8694ac053614694695991f0a91;p=pandora-kernel.git stmmac: mdio register has to fail if the phy is not found With this patch the stmmac fails in case of the phy device is not found; w/o this fix the mdio can be register twice when do down/up the iface and this is not correct. Reported-by: Stas Signed-off-by: Giuseppe Cavallaro Signed-off-by: David S. Miller --- Reading git-diff-tree failed