From owner-svn-src-head@FreeBSD.ORG Sun Mar 16 02:34:34 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8601D171; Sun, 16 Mar 2014 02:34:34 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 72D9D16C; Sun, 16 Mar 2014 02:34:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2G2YYab014099; Sun, 16 Mar 2014 02:34:34 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2G2YYuZ014098; Sun, 16 Mar 2014 02:34:34 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201403160234.s2G2YYuZ014098@svn.freebsd.org> From: Adrian Chadd Date: Sun, 16 Mar 2014 02:34:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r263223 - 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-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Mar 2014 02:34:34 -0000 Author: adrian Date: Sun Mar 16 02:34:33 2014 New Revision: 263223 URL: http://svnweb.freebsd.org/changeset/base/263223 Log: * Add ethernet MAC configuration from the EEPROM for arge0/arge1 * The AR9344 switch has 5 ports in use, not four. Tested: * DB120 reference board Modified: head/sys/mips/conf/DB120.hints Modified: head/sys/mips/conf/DB120.hints ============================================================================== --- head/sys/mips/conf/DB120.hints Sun Mar 16 02:32:44 2014 (r263222) +++ head/sys/mips/conf/DB120.hints Sun Mar 16 02:34:33 2014 (r263223) @@ -55,6 +55,9 @@ hint.arge.0.fduplex=1 hint.arge.0.miimode=3 # RGMII hint.arge.0.pll_1000=0x06000000 +# MAC for arge0 is the first 6 bytes of the ART +hint.arge.0.eeprommac=0x1f7f0000 + # mdiobus1 on arge1 hint.argemdio.1.at="nexus0" hint.argemdio.1.maddr=0x1a000000 @@ -67,7 +70,7 @@ hint.argemdio.1.order=0 hint.arswitch.1.at="mdio2" hint.arswitch.1.is_7240=0 hint.arswitch.1.is_9340=1 -hint.arswitch.1.numphys=4 +hint.arswitch.1.numphys=5 hint.arswitch.1.phy4cpu=0 # phy 4 is not a "CPU port" PHY here hint.arswitch.1.is_rgmii=0 hint.arswitch.1.is_gmii=1 # arge1 <-> switch PHY is GMII @@ -78,6 +81,9 @@ hint.arge.1.media=1000 hint.arge.1.fduplex=1 hint.arge.1.miimode=1 # GMII +# MAC for arge1 is the second 6 bytes of the ART +hint.arge.1.eeprommac=0x1f7f0006 + # ath0: Where the ART is - last 64k in the flash hint.ath.0.eepromaddr=0x1fff0000 hint.ath.0.eepromsize=16384