2016-05-13 22:13:15 +00:00
|
|
|
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
Date: Fri, 13 May 2016 21:00:41 +0200
|
|
|
|
Subject: ar71xx: fix MDIO bus probe on QCA956x
|
|
|
|
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
|
|
|
|
|
|
|
Backport of OpenWrt r48651
|
|
|
|
|
|
|
|
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
|
2016-12-20 00:09:53 +00:00
|
|
|
index 2efb9c70ff31f5c11bcdff6c6326743e4d5b5a11..12a376e1322ae14dd714297ed5f8319ae09eeb64 100644
|
2016-05-13 22:13:15 +00:00
|
|
|
--- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
|
|
|
|
+++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
|
|
|
|
@@ -183,7 +183,8 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)
|
|
|
|
ath79_soc == ATH79_SOC_AR9342 ||
|
|
|
|
ath79_soc == ATH79_SOC_AR9344 ||
|
|
|
|
ath79_soc == ATH79_SOC_QCA9556 ||
|
|
|
|
- ath79_soc == ATH79_SOC_QCA9558)
|
|
|
|
+ ath79_soc == ATH79_SOC_QCA9558 ||
|
|
|
|
+ ath79_soc == ATH79_SOC_QCA956X)
|
|
|
|
max_id = 1;
|
|
|
|
else
|
|
|
|
max_id = 0;
|