From: juhosg Date: Fri, 17 Dec 2010 17:10:21 +0000 (+0000) Subject: ar71xx: fix WLAN LEDs on the DIR-825 board X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/1eb912f20a904f09c9e8cd666704840f21d59184?ds=sidebyside ar71xx: fix WLAN LEDs on the DIR-825 board git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24650 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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),