openwrtv3/target/linux/ath79/files/drivers/net/ethernet
Chuanhong Guo f43e8f9004 ath79: ag71xx: Explicitly register mdio bus after ag71xx_hw_init() for ar7240
mdio bus isn't a standalone device on ar7240. (and maybe older SoCs?)
Use simple-mfd for ar7241 and later SoCs to get mdio1 ready before gmac0
For ar7240 and older chips, manually create platform device after
ag71xx_hw_init() in ag71xx_probe()to get mdio0 ready between
ag71xx_hw_init() and ag71xx_phy_connect().

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2018-07-30 10:43:35 +02:00
..
atheros/ag71xx ath79: ag71xx: Explicitly register mdio bus after ag71xx_hw_init() for ar7240 2018-07-30 10:43:35 +02:00