diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-09-21 12:04:45 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-09-21 12:04:45 +0000 |
commit | 581e4d98e6f9355f29fd3252e19ed8a7ae1bd4b3 (patch) | |
tree | 25f719672de0f675320f7045c222bc8056a6526a /target/linux/ar71xx/files | |
parent | 880d5d81a2b77467881bd4b4d4083026b6be4987 (diff) | |
download | upstream-581e4d98e6f9355f29fd3252e19ed8a7ae1bd4b3.tar.gz upstream-581e4d98e6f9355f29fd3252e19ed8a7ae1bd4b3.tar.bz2 upstream-581e4d98e6f9355f29fd3252e19ed8a7ae1bd4b3.zip |
ar71xx: fix LAN LEDs for dir-825-c1
This patches fixes the lan led configuration. The new configuration is
identical to the one in mach-db120.c and it works. The previous one
didn't work at all.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38094 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c index 3ab16e04c3..21d4271bd6 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c @@ -140,11 +140,11 @@ static struct ar8327_pad_cfg dir825c1_ar8327_pad0_cfg = { }; static struct ar8327_led_cfg dir825c1_ar8327_led_cfg = { - .led_ctrl0 = 0xc737c737, - .led_ctrl1 = 0x00000000, + .led_ctrl0 = 0x00000000, + .led_ctrl1 = 0xc737c737, .led_ctrl2 = 0x00000000, - .led_ctrl3 = 0x0030c300, - .open_drain = false, + .led_ctrl3 = 0x00c30c00, + .open_drain = true, }; static struct ar8327_platform_data dir825c1_ar8327_data = { |