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)
commitc71838faa1dc9ade9918abbc61b587ff35880a53
tree207ef158ec957e77d33908400b3e29f2be273402
parentc444edc6fdd096cfa8335effd6f57b292c265793
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