From b587b1c9aad388f0a95c55fae77b7e15c5acbaa9 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 23 Dec 2013 17:05:21 +0000 Subject: [PATCH] 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 SVN-Revision: 39160 --- target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c | 7 +------ 1 file changed, 1 insertion(+), 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; -- 2.30.2