From owner-svn-src-head@FreeBSD.ORG Sat May 12 05:27:14 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD1141065927; Sat, 12 May 2012 05:27:14 +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 A82808FC19; Sat, 12 May 2012 05:27:14 +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 q4C5RE0G017431; Sat, 12 May 2012 05:27:14 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4C5REAd017429; Sat, 12 May 2012 05:27:14 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201205120527.q4C5REAd017429@svn.freebsd.org> From: Adrian Chadd Date: Sat, 12 May 2012 05:27:14 +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: r235324 - 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: Sat, 12 May 2012 05:27:14 -0000 Author: adrian Date: Sat May 12 05:27:14 2012 New Revision: 235324 URL: http://svn.freebsd.org/changeset/base/235324 Log: Now that there's a hint for it, add a "I'm an AR7240 switch!" hint. Modified: head/sys/mips/conf/AP93.hints Modified: head/sys/mips/conf/AP93.hints ============================================================================== --- head/sys/mips/conf/AP93.hints Sat May 12 05:26:49 2012 (r235323) +++ head/sys/mips/conf/AP93.hints Sat May 12 05:27:14 2012 (r235324) @@ -41,11 +41,10 @@ hint.arge.1.phymask=0x0 hint.arge.1.media=1000 # Force to 1000BaseTX/full hint.arge.1.fduplex=1 -# AR7240 switch config # -# XXX TODO - have the AR7240 switch auto-detect correctly? -# XXX It detects as an AR8216, which isn't strictly true! +# AR7240 switch config # +hint.arswitch.0.is_7240=1 # We need to be explicitly told this hint.arswitch.0.numphys=4 # 4 active switch PHYs (PHY 0 -> 3) hint.arswitch.0.phy4cpu=1 # Yes, PHY 4 == dedicated PHY hint.arswitch.0.is_rgmii=0 # No, not RGMII