]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: abort network initialization if the PHY driver fails
authorTimur Tabi <timur@freescale.com>
Mon, 9 Jul 2012 08:52:43 +0000 (08:52 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 11 Jul 2012 18:15:30 +0000 (13:15 -0500)
commit11af8d65274df736deeb651d12e0763eec527ea5
treef1a168fd00307be243b3978fdceace496e6eabc8
parent6e5b9ac097689e96d53f638842823fb1d1bf4223
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)
drivers/net/fec_mxc.c
drivers/net/fm/eth.c
drivers/net/sh_eth.c
drivers/net/tsec.c
drivers/net/xilinx_axi_emac.c
drivers/net/xilinx_ll_temac.c