
Dear Timur Tabi,
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 timur@freescale.com Acked-by: Nobuhiro Iwamamatsu nobuhiro.iwamatsu.yj@renesas.com (sh_eth part) Acked-by: Stephan Linz linz@li-pro.net (Xilinx part, xilinx_axi_emac and xilinx_ll_temac) Reviewed-by: Marek Vasut
marex@denx.de (FEC part)
drivers/net/fec_mxc.c | 8 +++++++- drivers/net/fm/eth.c | 9 ++++++++- drivers/net/sh_eth.c | 6 +++++- drivers/net/tsec.c | 8 +++++++- drivers/net/xilinx_axi_emac.c | 6 +++++- drivers/net/xilinx_ll_temac.c | 8 +++++++- 6 files changed, 39 insertions(+), 6 deletions(-)
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index eee41d7..5700552 100644
A whining remark ... please keep changelog in here ;-)
[...]
Best regards, Marek Vasut