diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-12-14 18:01:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-12-14 18:01:04 +0000 |
commit | 6c1ace2f284920e12bf11900bfb666a9eedecc1b (patch) | |
tree | e8a95f0e1e222f851421ecf371f789b27c4e1d95 /target/linux/ar71xx | |
parent | a7750dae90081a5a6b1ccee196012ff9d05c7170 (diff) | |
download | mtk-20170518-6c1ace2f284920e12bf11900bfb666a9eedecc1b.zip mtk-20170518-6c1ace2f284920e12bf11900bfb666a9eedecc1b.tar.gz mtk-20170518-6c1ace2f284920e12bf11900bfb666a9eedecc1b.tar.bz2 |
ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
SVN-Revision: 24569
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-mr3x20.c | 19 |
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 db41559..7e8ab4c 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); |