commit | 976c90b90187f2eb4778d766d52d6ab176714734 | [log] [tgz] |
---|---|---|
author | Simon Baatz <gmbnomis@gmail.com> | Sun Mar 24 10:34:00 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 24 17:07:15 2013 -0400 |
tree | 1717485c6a70bec36da9a4ccec849c7470962ff5 | |
parent | 404b8bed14097fb6fe74cc7fcf72781714ed263a [diff] |
mv643xx_eth: defer probing if Marvell Orion MDIO driver not loaded When both the Marvell MV643XX ethernet driver and the Orion MDIO driver are compiled as modules, the ethernet driver may be probed before the MDIO driver. Let mv643xx_eth_probe() return EPROBE_DEFER in this case, i.e. when it cannot find the PHY. Signed-off-by: Simon Baatz <gmbnomis@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>