summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-12-23 17:05:21 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-12-23 17:05:21 +0000
commit76f37c5d4627f73704abf057bdc2205110cc1e0d (patch)
treefb3ac2af9db51678213e235eb25ff71ae826d883 /target/linux/ar71xx/files/arch
parentdd7c1f8fcd402affab6336f5e9d7aab616677e85 (diff)
downloadmtk-20170518-76f37c5d4627f73704abf057bdc2205110cc1e0d.zip
mtk-20170518-76f37c5d4627f73704abf057bdc2205110cc1e0d.tar.gz
mtk-20170518-76f37c5d4627f73704abf057bdc2205110cc1e0d.tar.bz2
ar71xx: don't set builtin_switch flag for QCA9558
It makes no sense, the SoC has no built-in switch. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39160
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c7
1 files changed, 1 insertions, 6 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 da67478..17b3ec4 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
@@ -254,13 +254,8 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)
mdio_data->is_ar934x = 1;
break;
- case ATH79_SOC_QCA9558:
- if (id == 1)
- mdio_data->builtin_switch = 1;
- mdio_data->is_ar934x = 1;
- break;
-
case ATH79_SOC_QCA9556:
+ case ATH79_SOC_QCA9558:
mdio_data->is_ar934x = 1;
break;