aboutsummaryrefslogtreecommitdiffstats
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
parentdd7c1f8fcd402affab6336f5e9d7aab616677e85 (diff)
downloadupstream-76f37c5d4627f73704abf057bdc2205110cc1e0d.tar.gz
upstream-76f37c5d4627f73704abf057bdc2205110cc1e0d.tar.bz2
upstream-76f37c5d4627f73704abf057bdc2205110cc1e0d.zip
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
-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 da67478fe6..17b3ec4a6d 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;