[ar71xx] wrt400n: lan ports don't need the ar8216 workaround
[openwrt-10.03/.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-wrt400n.c
index 465b6c61243e74bf8196112ac33e6294709b85e1..5ed0b60583aa2591fd7a09a6cb6bc7067fea6d4b 100644 (file)
@@ -115,14 +115,14 @@ static struct gpio_button wrt400n_gpio_buttons[] __initdata = {
                .desc           = "reset",
                .type           = EV_KEY,
                .code           = BTN_0,
-               .threshold      = 5,
+               .threshold      = 3,
                .gpio           = WRT400N_GPIO_BTN_RESET,
                .active_low     = 1,
        } , {
                .desc           = "wlsec",
                .type           = EV_KEY,
                .code           = BTN_1,
-               .threshold      = 5,
+               .threshold      = 3,
                .gpio           = WRT400N_GPIO_BTN_WLSEC,
                .active_low     = 1,
        }
@@ -143,10 +143,8 @@ static void __init wrt400n_setup(void)
        ar71xx_add_device_mdio(0x0);
 
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
-       ar71xx_eth0_data.phy_mask = 0xf;
        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;