Share the mii_bus for others MAC device because QDF2400 emac include MDIO, and the motherboard has more than one PHY connected to an MDIO bus. Tested: QDF2400 (ACPI), buildin/insmod/rmmod Wang Dongsheng (2): dt-bindings: net: qcom: Add binding for shared mdio bus net: qcom/emac: add shared mdio bus support .../devicetree/bindings/net/qcom-emac.txt | 4 + drivers/net/ethernet/qualcomm/emac/emac-phy.c | 211 ++++++++++++++---- drivers/net/ethernet/qualcomm/emac/emac.c | 7 +- 3 files changed, 178 insertions(+), 44 deletions(-) -- 2.18.0