svn commit: r303578 - head/sys/mips/conf
Adrian Chadd
adrian at FreeBSD.org
Sun Jul 31 06:52:20 UTC 2016
Author: adrian
Date: Sun Jul 31 06:52:19 2016
New Revision: 303578
URL: https://svnweb.freebsd.org/changeset/base/303578
Log:
[wdr4300] invert the GPIO LED polarity.
This makes them behave correctly.
Submitted by: Dan Nelson <dnelson_1901 at yahoo.com>
Modified:
head/sys/mips/conf/TL-WDR4300.hints
Modified: head/sys/mips/conf/TL-WDR4300.hints
==============================================================================
--- head/sys/mips/conf/TL-WDR4300.hints Sun Jul 31 06:51:34 2016 (r303577)
+++ head/sys/mips/conf/TL-WDR4300.hints Sun Jul 31 06:52:19 2016 (r303578)
@@ -206,21 +206,26 @@ hint.gpio.0.func.19.gpiomode=1 # output,
hint.gpioled.0.at="gpiobus0"
hint.gpioled.0.name="USB1"
hint.gpioled.0.pins=0x0800
+hint.gpioled.0.invert=1
hint.gpioled.1.at="gpiobus0"
hint.gpioled.1.name="USB2"
hint.gpioled.1.pins=0x1000
+hint.gpioled.1.invert=1
hint.gpioled.2.at="gpiobus0"
hint.gpioled.2.name="WLAN2G"
hint.gpioled.2.pins=0x2000
+hint.gpioled.2.invert=1
hint.gpioled.3.at="gpiobus0"
hint.gpioled.3.name="SYSTEM"
hint.gpioled.3.pins=0x4000
+hint.gpioled.3.invert=1
hint.gpioled.4.at="gpiobus0"
hint.gpioled.4.name="QSS"
hint.gpioled.4.pins=0x8000
+hint.gpioled.4.invert=1
# XXX TODO: WPS/RFKILL switch
More information about the svn-src-head
mailing list