commit | 4238746bc84f5fa039fe58c53313241ca0485f42 | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@freescale.com> | Mon Jul 09 08:52:43 2012 +0000 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Wed Jul 11 13:15:30 2012 -0500 |
tree | f1a168fd00307be243b3978fdceace496e6eabc8 | |
parent | 251180bd7caae3e4de3284fc6cf7e7e25727b8d4 [diff] |
net: abort network initialization if the PHY driver fails 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)