aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2010-03-26 19:09:11 +0000
committerAndy Boyett <agb@openwrt.org>2010-03-26 19:09:11 +0000
commit94f7c6cc5226a1ec1ffd10141792b0dcd5d69a6d (patch)
tree7f3673df1223361c103b90bebf43220963a11279
parent805a721d1bf40abb38b2d3813bf5c91c84cf6355 (diff)
downloadupstream-94f7c6cc5226a1ec1ffd10141792b0dcd5d69a6d.tar.gz
upstream-94f7c6cc5226a1ec1ffd10141792b0dcd5d69a6d.tar.bz2
upstream-94f7c6cc5226a1ec1ffd10141792b0dcd5d69a6d.zip
[ar71xx] wrt400n: lan ports don't need the ar8216 workaround
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20491 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c1
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/Kconfig2
2 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
index 886f94728e..5ed0b60583 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt400n.c
@@ -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;
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/Kconfig b/target/linux/ar71xx/files/drivers/net/ag71xx/Kconfig
index 59bc6fffdc..7db779e38c 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/Kconfig
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/Kconfig
@@ -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.