summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-17 17:10:21 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-12-17 17:10:21 +0000
commit1eb912f20a904f09c9e8cd666704840f21d59184 (patch)
treef1dd994ed7a7218ac26178e690ef3a2df19514dd
parent3e6bf9586d183f4c210eb13164353a45a6d3d25d (diff)
ar71xx: fix WLAN LEDs on the DIR-825 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24650 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
index 3d3114689..a36d2d09d 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c
@@ -178,6 +178,9 @@ static void __init dir825b1_setup(void)
platform_device_register(&dir825b1_rtl8366s_device);
+ ap94_pci_setup_wmac_led_pin(0, 5);
+ ap94_pci_setup_wmac_led_pin(1, 5);
+
ap94_pci_init((u8 *) KSEG1ADDR(DIR825B1_CAL_LOCATION_0),
(u8 *) KSEG1ADDR(DIR825B1_MAC_LOCATION_0),
(u8 *) KSEG1ADDR(DIR825B1_CAL_LOCATION_1),