wrt400n: lan ports don't need the ar8216 workaround
authorAndy Boyett <agb@openwrt.org>
Fri, 26 Mar 2010 19:09:11 +0000 (19:09 +0000)
committerAndy Boyett <agb@openwrt.org>
Fri, 26 Mar 2010 19:09:11 +0000 (19:09 +0000)
SVN-Revision: 20491

target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
target/linux/ar71xx/files/drivers/net/ag71xx/Kconfig

index 886f94728ee6643e732d763533cc9cdeffd80d0a..5ed0b60583aa2591fd7a09a6cb6bc7067fea6d4b 100644 (file)
@@ -145,7 +145,6 @@ static void __init wrt400n_setup(void)
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
        ar71xx_eth0_data.speed = SPEED_100;
        ar71xx_eth0_data.duplex = DUPLEX_FULL;
-       ar71xx_eth0_data.has_ar8216 = 1;
 
        ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
        ar71xx_eth1_data.phy_mask = 0x10;
index 59bc6fffdc20ca1642091487d48ee659236a8bb8..7db779e38c4bb7c1656c28e9f4b079dee443eea9 100644 (file)
@@ -25,7 +25,7 @@ config AG71XX_DEBUG_FS
 config AG71XX_AR8216_SUPPORT
        bool "special support for the Atheros AR8216 switch"
        default n
-       default y if AR71XX_MACH_WNR2000 || AR71XX_MACH_MZK_W04NU || AR71XX_MACH_WRT400N
+       default y if AR71XX_MACH_WNR2000 || AR71XX_MACH_MZK_W04NU
        help
          Say 'y' here if you want to enable special support for the
          Atheros AR8216 switch found on some boards.