summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-05-12 05:27:14 +0000
committeradrian <adrian@FreeBSD.org>2012-05-12 05:27:14 +0000
commit59f5193bc5d9a16761d0e536bbe5ab5e6dd7dee4 (patch)
tree64a66fb58b289d00002855eef2d04c05e815def2 /sys/mips/conf
parent7ed0a10dab896125557687b99aa88f630dd528bc (diff)
downloadFreeBSD-src-59f5193bc5d9a16761d0e536bbe5ab5e6dd7dee4.zip
FreeBSD-src-59f5193bc5d9a16761d0e536bbe5ab5e6dd7dee4.tar.gz
Now that there's a hint for it, add a "I'm an AR7240 switch!" hint.
Diffstat (limited to 'sys/mips/conf')
-rw-r--r--sys/mips/conf/AP93.hints5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/mips/conf/AP93.hints b/sys/mips/conf/AP93.hints
index 1e8f0ce..0fe3431 100644
--- a/sys/mips/conf/AP93.hints
+++ b/sys/mips/conf/AP93.hints
@@ -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
OpenPOWER on IntegriCloud