Skip to content
Commit 976c90b9 authored by Simon Baatz's avatar Simon Baatz Committed by David S. Miller
Browse files

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: default avatarSimon Baatz <gmbnomis@gmail.com>
Acked-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 404b8bed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment