diff options
author | Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> | 2017-04-20 19:14:57 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-04-25 19:29:59 +0200 |
commit | 42120bd7f323ff7170b32a5fd4674babd8b184bc (patch) | |
tree | 179673053305495a090b14bb8f0760dfaebe6b0c /tools/isl | |
parent | f4ae444f3ed94d89ea6d239c944ae2956ba92d3b (diff) | |
download | upstream-42120bd7f323ff7170b32a5fd4674babd8b184bc.tar.gz upstream-42120bd7f323ff7170b32a5fd4674babd8b184bc.tar.bz2 upstream-42120bd7f323ff7170b32a5fd4674babd8b184bc.zip |
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>
Diffstat (limited to 'tools/isl')
0 files changed, 0 insertions, 0 deletions