diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-12-23 17:05:21 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-12-23 17:05:21 +0000 |
commit | 51f7dc6d9fcf312943aba651c060c350cf022a07 (patch) | |
tree | 869e273c657c5a40bb4c516ea2aac23edf459752 /target | |
parent | 5ac3c3da09cced7275af05c64ea361fb3f7b8b03 (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39160 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c | 7 |
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; |