From owner-svn-src-all@FreeBSD.ORG Wed Dec 3 18:08:40 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3B30658; Wed, 3 Dec 2014 18:08:40 +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 C0BF8646; Wed, 3 Dec 2014 18:08:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB3I8eCm024696; Wed, 3 Dec 2014 18:08:40 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB3I8e61024695; Wed, 3 Dec 2014 18:08:40 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201412031808.sB3I8e61024695@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Wed, 3 Dec 2014 18:08:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275462 - 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: Wed, 03 Dec 2014 18:08:40 -0000 Author: sbruno Date: Wed Dec 3 18:08:39 2014 New Revision: 275462 URL: https://svnweb.freebsd.org/changeset/base/275462 Log: Assign argemdio0 to the correct base address and assign argemdio1 to its proper place *after* argemdio0 Correctly place arge0 and arge1 on their respective bus positions. Sponsored by: Nicholas Esborn Modified: head/sys/mips/conf/WZR-HPAG300H.hints Modified: head/sys/mips/conf/WZR-HPAG300H.hints ============================================================================== --- head/sys/mips/conf/WZR-HPAG300H.hints Wed Dec 3 16:04:01 2014 (r275461) +++ head/sys/mips/conf/WZR-HPAG300H.hints Wed Dec 3 18:08:39 2014 (r275462) @@ -5,10 +5,15 @@ # arge1 MDIO bus hint.argemdio.0.at="nexus0" -hint.argemdio.0.maddr=0x1a000000 +hint.argemdio.0.maddr=0x19000000 hint.argemdio.0.msize=0x1000 hint.argemdio.0.order=0 +hint.argemdio.1.at="nexus0" +hint.argemdio.1.maddr=0x1a000000 +hint.argemdio.1.msize=0x1000 +hint.argemdio.1.order=0 + hint.arge.0.phymask=0x0 hint.arge.0.media=1000 hint.arge.0.fduplex=1 @@ -20,15 +25,16 @@ hint.arge.1.phymask=0x10 hint.arge.1.media=1000 hint.arge.1.fduplex=1 hint.arge.1.eeprommac=0x1f05520c -hint.arge.1.mdio=mdioproxy0 # .. off of the switch mdiobus +hint.arge.1.mdio=mdioproxy1 # .. off of the switch mdiobus hint.arge.1.miimode=3 + # -# AR7240 switch config +# AR8317 switch config # hint.arswitch.0.at="mdio0" hint.arswitch.0.is_7240=0 # We need to be explicitly told this hint.arswitch.0.numphys=4 # 5 active switch PHYs (PHY 0 -> 4) -hint.arswitch.0.phy4cpu=0 # No, PHY 4 == dedicated PHY +hint.arswitch.0.phy4cpu=1 # No, PHY 4 == dedicated PHY hint.arswitch.0.is_rgmii=1 # Yes, is RGMII hint.arswitch.0.is_gmii=0 # No, not GMII