Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2012 05:27:14 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235324 - head/sys/mips/conf
Message-ID:  <201205120527.q4C5REAd017429@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205120527.q4C5REAd017429>