From owner-svn-src-head@FreeBSD.ORG Fri May 11 21:13:44 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 430E4106566C; Fri, 11 May 2012 21:13:44 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 161488FC12; Fri, 11 May 2012 21:13:44 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4BLDhQo000801; Fri, 11 May 2012 21:13:43 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4BLDhlT000798; Fri, 11 May 2012 21:13:43 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201205112113.q4BLDhlT000798@svn.freebsd.org> From: Adrian Chadd Date: Fri, 11 May 2012 21:13:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235290 - head/sys/mips/conf X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 11 May 2012 21:13:44 -0000 Author: adrian Date: Fri May 11 21:13:43 2012 New Revision: 235290 URL: http://svn.freebsd.org/changeset/base/235290 Log: Add switch support to AP96. Modified: head/sys/mips/conf/AP96 head/sys/mips/conf/AP96.hints Modified: head/sys/mips/conf/AP96 ============================================================================== --- head/sys/mips/conf/AP96 Fri May 11 20:56:04 2012 (r235289) +++ head/sys/mips/conf/AP96 Fri May 11 21:13:43 2012 (r235290) @@ -44,3 +44,6 @@ device firmware # Used by the above # Options required for miiproxy and mdiobus options ARGE_MDIO # Export an MDIO bus separate from arge device miiproxy # MDIO bus <-> MII PHY rendezvous + +device etherswitch +device arswitch Modified: head/sys/mips/conf/AP96.hints ============================================================================== --- head/sys/mips/conf/AP96.hints Fri May 11 20:56:04 2012 (r235289) +++ head/sys/mips/conf/AP96.hints Fri May 11 21:13:43 2012 (r235290) @@ -5,21 +5,17 @@ hint.argemdio.0.at="nexus0" hint.argemdio.0.maddr=0x19000000 hint.argemdio.0.msize=0x1000 hint.argemdio.0.order=0 +# This creates an automatic mdioproxy0! -# Create two mdioproxy instances - by default only one is created -# per mdiobus above. -hint.mdioproxy.0.at="mdio0" -hint.mdioproxy.1.at="mdio0" + +# The switch automatically probes off of mdio0, and will +# create an mdioproxy1. # TODO: RGMII -# XXX this port currently doesn't work with the current configuration. -hint.arge.0.phymask=0x0f +hint.arge.0.phymask=0x0 # Nothing attached here (XXX?) hint.arge.0.media=1000 hint.arge.0.fduplex=1 hint.arge.0.miimode=3 # RGMII -# For now, rendezouvs this on the arge0 mdiobus. -# Later, this will rendezvous via the AR8316 switch. -hint.arge.0.mdio=mdioproxy0 # TODO: RGMII hint.arge.1.phymask=0x10 @@ -27,7 +23,7 @@ hint.arge.1.phymask=0x10 # For now, rendezouvs this on the arge0 mdiobus. # Later, this will rendezvous via the AR8316 switch. hint.arge.1.miimode=3 # RGMII -hint.arge.1.mdio=mdioproxy1 +hint.arge.1.mdio=mdioproxy1 # off the switch mdiobus # ath0 - slot 17 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000