aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-07 21:00:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-07 21:00:01 +0000
commit665edda2da1d4c47c11c9b9019f46574b16f6e4a (patch)
tree2eae95193f2b596436e92ff3de21b6901e73a330
parent5cdadb99358319dd49ae58143aabc4cae5be12b5 (diff)
downloadmaster-187ad058-665edda2da1d4c47c11c9b9019f46574b16f6e4a.tar.gz
master-187ad058-665edda2da1d4c47c11c9b9019f46574b16f6e4a.tar.bz2
master-187ad058-665edda2da1d4c47c11c9b9019f46574b16f6e4a.zip
ar71xx: fix MDIO bus probe on QCA956x
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48651 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
index 2efb9c70ff..12a376e132 100644
--- 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;