Now that phy_startup() can return an actual error code, check for that error
code and abort network initialization if the PHY fails.
Signed-off-by: Timur Tabi ti...@freescale.com
---
drivers/net/fec_mxc.c |7 ++-
drivers/net/fm/eth.c |9 -
Hi,
2012/7/6 Timur Tabi ti...@freescale.com:
Now that phy_startup() can return an actual error code, check for that error
code and abort network initialization if the PHY fails.
Signed-off-by: Timur Tabi ti...@freescale.com
---
drivers/net/fec_mxc.c |7 ++-
Nobuhiro Iwamatsu wrote:
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index eee41d7..7a3d16b 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -510,7 +510,12 @@ static int fec_open(struct eth_device *edev)
fec_eth_phy_config(edev);
if
3 matches
Mail list logo