From owner-svn-src-all@FreeBSD.ORG Sat Mar 21 06:44:42 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9CA0FAE; Sat, 21 Mar 2015 06:44:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B443ED60; Sat, 21 Mar 2015 06:44:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2L6ig0x027136; Sat, 21 Mar 2015 06:44:42 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2L6igM4027135; Sat, 21 Mar 2015 06:44:42 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201503210644.t2L6igM4027135@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Sat, 21 Mar 2015 06:44:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r280320 - head/sys/mips/conf X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2015 06:44:42 -0000 Author: adrian Date: Sat Mar 21 06:44:41 2015 New Revision: 280320 URL: https://svnweb.freebsd.org/changeset/base/280320 Log: 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 Modified: head/sys/mips/conf/TL-WDR4300.hints Modified: head/sys/mips/conf/TL-WDR4300.hints ============================================================================== --- head/sys/mips/conf/TL-WDR4300.hints Sat Mar 21 06:18:25 2015 (r280319) +++ head/sys/mips/conf/TL-WDR4300.hints Sat Mar 21 06:44:41 2015 (r280320) @@ -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