[U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

Marek Vasut marex at denx.de
Tue Jul 10 03:54:28 CEST 2012


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 at freescale.com>
> Acked-by: Nobuhiro Iwamamatsu <nobuhiro.iwamatsu.yj at renesas.com> (sh_eth
> part) Acked-by: Stephan Linz <linz at li-pro.net> (Xilinx part,
> xilinx_axi_emac and xilinx_ll_temac) Reviewed-by: Marek Vasut
> <marex at 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


More information about the U-Boot mailing list