lantiq: use dsl led defined in DTS
authorJohn Crispin <john@openwrt.org>
Fri, 1 Jan 2016 21:18:38 +0000 (21:18 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 1 Jan 2016 21:18:38 +0000 (21:18 +0000)
commitd0733a20af01eb25e661c93b8abceb89e4ed8a30
tree03742c5b7ce96194aadf78d16be3174d748d908a
parent47256b384820e3fbbd4ea340c647c5fa578cf1a5
lantiq: use dsl led defined in DTS

dsl_control (dsl_notify.sh) is the only process which is aware of the
state of the atm/ptm interface. Use the dsl led exclusive for the dsl
line state.

On boards which don't have a distinct internet and a dsl led, let the
netdev status of the atm interface trigger the shared led.

Triggering the shared led according to the status of the ppp interface
isn't suitable, since the led would be switched of if the ppp
connection goes down, but the line is still in sync.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 48040
target/linux/lantiq/base-files/etc/board.d/01_leds
target/linux/lantiq/base-files/sbin/dsl_notify.sh
target/linux/lantiq/dts/ARV452CQW.dts
target/linux/lantiq/dts/VG3503J.dtsi