From 771df80a721b12bfcbb6b161959699382fd42e77 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 21 Mar 2015 06:44:41 +0000 Subject: [PATCH] Fix the LED configuration so the switch PHY LEDs work fine. Tested: * TP-Link TL-WDR3600; yes, by testing all five ethernet ports. Obtained from: Linux OpenWRT --- sys/mips/conf/TL-WDR4300.hints | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/mips/conf/TL-WDR4300.hints b/sys/mips/conf/TL-WDR4300.hints index 4f2a75cb795b..a2848dae49cd 100644 --- a/sys/mips/conf/TL-WDR4300.hints +++ b/sys/mips/conf/TL-WDR4300.hints @@ -42,10 +42,10 @@ hint.arswitch.0.pad.0.txclk_delay_sel=1 hint.arswitch.0.pad.0.rxclk_delay_sel=2 # XXX there's no LED management just yet! -hint.arswitch.0.led.ctrl0=0x00000000 -hint.arswitch.0.led.ctrl1=0xc737c737 +hint.arswitch.0.led.ctrl0=0xc737c737 +hint.arswitch.0.led.ctrl1=0x00000000 hint.arswitch.0.led.ctrl2=0x00000000 -hint.arswitch.0.led.ctrl3=0x00c30c00 +hint.arswitch.0.led.ctrl3=0x0030c300 hint.arswitch.0.led.open_drain=0 # force_link=1 is required for the rest of the parameters