ramips: WAN LED for D-Link DIR-300-B1
authorGabor Juhos <juhosg@openwrt.org>
Tue, 29 May 2012 16:39:03 +0000 (16:39 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 29 May 2012 16:39:03 +0000 (16:39 +0000)
commitd35bb4954bd2d6f88a78c605e7e79482f4cec2f4
treef6e662a9e85178ff1b582e23915afb896b79ae59
parentedcaa11019e1b90080534799fb47723b2f434571
ramips: WAN LED for D-Link DIR-300-B1

Add led devices for D-Link DIR-300-B1 WAN LED.

Note that the GPIO state is also ANDed with the esw switch port 4
LED state, which is why I've set the amber LED to default-on.

Closes: https://dev.openwrt.org/ticket/11326
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
[ juhosg:
- fix comment style in mach-dir-300-revb.c,
- remove the PPP specific LED setup, not everyone uses a PPP connection
  on the WAN interface]

SVN-Revision: 31989
target/linux/ramips/base-files/etc/uci-defaults/leds
target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dir-300-revb.c