aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
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
commita63fd6faf75cc5010d3da87af40d1b98e6a6c110 (patch)
tree61f622ba5e500ef45ebcff7e88f518f35834bf64 /target/linux/ar71xx/files
parenta5dd378a0e2d7240607fe6652bf039dc32be5c79 (diff)
downloadupstream-a63fd6faf75cc5010d3da87af40d1b98e6a6c110.tar.gz
upstream-a63fd6faf75cc5010d3da87af40d1b98e6a6c110.tar.bz2
upstream-a63fd6faf75cc5010d3da87af40d1b98e6a6c110.zip
ar71xx: fix MDIO bus probe on QCA956x
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48651
Diffstat (limited to 'target/linux/ar71xx/files')
-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;