summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-14 18:01:04 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-14 18:01:04 +0000
commit5270be5f80c70daa4bddc7a3cda5bb806e611b46 (patch)
treedd22a8271f25c6fe6da21fd287f464f4146b75b5 /target/linux/ar71xx/files/arch
parent6cc1945af5c859d4a44918ac14ad23bd3c104d10 (diff)
ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24569 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-mr3x20.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-mr3x20.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-mr3x20.c
index db415597eb..7e8ab4c21f 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-mr3x20.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-mr3x20.c
@@ -144,8 +144,21 @@ static void __init tl_mr3x20_setup(void)
ap91_pci_init(ee, mac);
}
-MIPS_MACHINE(AR71XX_MACH_TL_MR3420, "TL-MR3420", "TP-LINK TL-MR3420",
- tl_mr3x20_setup);
+
+static void __init tl_mr3220_setup(void)
+{
+ tl_mr3x20_setup();
+ ap91_pci_setup_wmac_led_pin(1);
+}
MIPS_MACHINE(AR71XX_MACH_TL_MR3220, "TL-MR3220", "TP-LINK TL-MR3220",
- tl_mr3x20_setup);
+ tl_mr3220_setup);
+
+static void __init tl_mr3420_setup(void)
+{
+ tl_mr3x20_setup();
+ ap91_pci_setup_wmac_led_pin(0);
+}
+
+MIPS_MACHINE(AR71XX_MACH_TL_MR3420, "TL-MR3420", "TP-LINK TL-MR3420",
+ tl_mr3420_setup);