1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00
openwrt/target/linux/lantiq
Kevin Darbyshire-Bryant 42120bd7f3 lantiq: DGN3500: make switch LEDs blink on activity
Make switch port LEDs blink on activity as they do with stock firmware.

The u-boot loader sets suitable values in the LED control register that
unfortunately get blown away by the linux switch driver init.  Restore
that value by using driver 'initvals'.  0x0431 is the led control
register, the value 0x0960. Each nybble represents each LED's mode
(LED3,2,1,0) in this case OFF, 1000LINK+Activity, 100/10LINK+Activity,
OFF.  Only LED1&2 are physically present.

Enabling the blinkenlights exposed the fact that an RRCP packet was
being emitted by the switch on all ports every second.  Further initvals
copied from stock firmware's u-boot driver disabled this 'feature'.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2017-04-25 19:29:59 +02:00
..
base-files lantiq: improve DGN3500 LED definitions 2017-04-21 07:50:55 +02:00
dts lantiq: DGN3500: make switch LEDs blink on activity 2017-04-25 19:29:59 +02:00
falcon build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
files/firmware/lantiq move GPHY FW blobs to non versioned folder 2013-03-14 18:42:21 +00:00
image lantiq: add support for the Alpha ASL56026 2017-03-08 19:06:04 +01:00
patches-4.4 kernel: update kernel 4.4 to 4.4.61 2017-04-15 18:26:41 +02:00
patches-4.9 lantiq: drop tffs patches 2017-04-08 14:30:00 +02:00
xrx200 lantiq: add support for kernel 4.9 2017-02-11 23:44:13 +01:00
xway build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
xway_legacy build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
config-4.4 lantiq: add cpu temperatur sensor driver for xrx200 2016-08-03 15:30:13 +02:00
config-4.9 lantiq: add support for kernel 4.9 2017-02-11 23:44:13 +01:00
Makefile lantiq: remove CPU_TYPE:=mips32r2, it gets overwritten anyway 2017-01-24 13:33:45 +01:00
modules.mk fix i2c-lantiq module 2012-12-16 10:03:18 +00:00