commit | 0c6610017459ed9642548694fe88971d3f4206aa | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Jan 04 19:24:06 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 06 11:12:01 2011 -0800 |
tree | c9ce737e7e881f611b894605fee75f6eee0f1a50 | |
parent | 238c855805c853eaec95b0bc3065effb64f955a0 [diff] |
net: ixp4xx_eth: Return proper error for eth_init_one Return PTR_ERR(port->phydev) instead of 1 if phy_connect failed. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by: David S. Miller <davem@davemloft.net>