aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-12-17 17:10:21 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-12-17 17:10:21 +0000
commit58792f7715a7e9311ea2ad2988e5acfd551c8fc4 (patch)
treef1dd994ed7a7218ac26178e690ef3a2df19514dd /target
parentf6cb39e467209275f19ea9cc77a3c0db2d9bea33 (diff)
downloadupstream-58792f7715a7e9311ea2ad2988e5acfd551c8fc4.tar.gz
upstream-58792f7715a7e9311ea2ad2988e5acfd551c8fc4.tar.bz2
upstream-58792f7715a7e9311ea2ad2988e5acfd551c8fc4.zip
ar71xx: fix WLAN LEDs on the DIR-825 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24650 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 3d3114689b..a36d2d09d7 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),