commit | 3955b22b9798ae8694ac053614694695991f0a91 | [log] [tgz] |
---|---|---|
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | Wed Feb 06 20:47:52 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 10 20:12:10 2013 -0500 |
tree | a46217f7ea13c2fcb4f9506a91663aadbbc4cb40 | |
parent | de53d55798f44c6c95442ab839004b7272ab61dd [diff] |
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 <stsp@list.ru> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>