ath79: ag71xx: Split mdio driver into an independent platform device.
authorChuanhong Guo <gch981213@gmail.com>
Tue, 17 Jul 2018 09:09:13 +0000 (17:09 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:43:33 +0000 (10:43 +0200)
commit83d2dbc59924c90dd865de113a55d60826ac0c04
tree2fb028041fcffa2e1de5342fa6f9a98462da5e48
parent24cbe27bb7ff83b9bb3a2640904bced1a2d14a8d
ath79: ag71xx: Split mdio driver into an independent platform device.

We need to have mdio1 belonging to gmac1 initialized before gmac0.
Split it into a separated mdio device to get both mdios ready before probing gmac.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/Makefile
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c