This way it is a bit easier to add other TP-LINK devices based on the
Atheros AP123 reference board with one LAN port.
Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39071
ath79_register_eth(0);
ath79_register_wmac(ee, mac);
ath79_register_eth(0);
ath79_register_wmac(ee, mac);
-
- ath79_register_gpio_keys_polled(-1, TL_WAX50RE_KEYS_POLL_INTERVAL,
- ARRAY_SIZE(tl_wax50re_gpio_keys),
- tl_wax50re_gpio_keys);
}
static void __init tl_wa750re_setup(void)
}
static void __init tl_wa750re_setup(void)
tl_ap123_setup();
ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wa750re_leds_gpio),
tl_wa750re_leds_gpio);
tl_ap123_setup();
ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wa750re_leds_gpio),
tl_wa750re_leds_gpio);
+
+ ath79_register_gpio_keys_polled(-1, TL_WAX50RE_KEYS_POLL_INTERVAL,
+ ARRAY_SIZE(tl_wax50re_gpio_keys),
+ tl_wax50re_gpio_keys);
}
MIPS_MACHINE(ATH79_MACH_TL_WA750RE, "TL-WA750RE", "TP-LINK TL-WA750RE",
}
MIPS_MACHINE(ATH79_MACH_TL_WA750RE, "TL-WA750RE", "TP-LINK TL-WA750RE",
tl_ap123_setup();
ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wa850re_leds_gpio),
tl_wa850re_leds_gpio);
tl_ap123_setup();
ath79_register_leds_gpio(-1, ARRAY_SIZE(tl_wa850re_leds_gpio),
tl_wa850re_leds_gpio);
+
+ ath79_register_gpio_keys_polled(-1, TL_WAX50RE_KEYS_POLL_INTERVAL,
+ ARRAY_SIZE(tl_wax50re_gpio_keys),
+ tl_wax50re_gpio_keys);
}
MIPS_MACHINE(ATH79_MACH_TL_WA850RE, "TL-WA850RE", "TP-LINK TL-WA850RE",
}
MIPS_MACHINE(ATH79_MACH_TL_WA850RE, "TL-WA850RE", "TP-LINK TL-WA850RE",