ar71xx: don't set builtin_switch flag for QCA9558
authorGabor Juhos <juhosg@openwrt.org>
Mon, 23 Dec 2013 17:05:21 +0000 (17:05 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 23 Dec 2013 17:05:21 +0000 (17:05 +0000)
It makes no sense, the SoC has no built-in switch.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39160

target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c

index da67478fe68dcf7ee83c51d21f70769a8746fa3b..17b3ec4a6d46a93b91f5ac1050398ec297a3935c 100644 (file)
@@ -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;