Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2016 06:52:19 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303578 - head/sys/mips/conf
Message-ID:  <201607310652.u6V6qJp2025813@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607310652.u6V6qJp2025813>