summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorray <ray@FreeBSD.org>2012-11-07 22:46:30 +0000
committerray <ray@FreeBSD.org>2012-11-07 22:46:30 +0000
commit3fb7192739a973fba68139f4ce9c4ae4626a0b6f (patch)
treef68af5f164efcbb93fed248d83d7050523172942
parente71d46d66c5fb040495a869e6d998cd7e5fc2e3c (diff)
downloadFreeBSD-src-3fb7192739a973fba68139f4ce9c4ae4626a0b6f.zip
FreeBSD-src-3fb7192739a973fba68139f4ce9c4ae4626a0b6f.tar.gz
Hint miibus to attach arswitch on AP91, AP93 and RSPRO boards.
Submitted by: Luiz Otavio O Souza Approved by: adrian (menthor)
-rw-r--r--sys/mips/conf/AP91.hints1
-rw-r--r--sys/mips/conf/AP93.hints1
-rw-r--r--sys/mips/conf/RSPRO.hints1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/mips/conf/AP91.hints b/sys/mips/conf/AP91.hints
index 803bbc2..6c0cc43 100644
--- a/sys/mips/conf/AP91.hints
+++ b/sys/mips/conf/AP91.hints
@@ -30,6 +30,7 @@ hint.arge.1.fduplex=1
#
# AR7240 switch config
#
+hint.arswitch.0.at="mdio0"
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
diff --git a/sys/mips/conf/AP93.hints b/sys/mips/conf/AP93.hints
index 91f2a04..22be50f 100644
--- a/sys/mips/conf/AP93.hints
+++ b/sys/mips/conf/AP93.hints
@@ -25,6 +25,7 @@ hint.arge.1.fduplex=1
#
# AR7240 switch config
#
+hint.arswitch.0.at="mdio0"
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
diff --git a/sys/mips/conf/RSPRO.hints b/sys/mips/conf/RSPRO.hints
index 3be5d13..a802328 100644
--- a/sys/mips/conf/RSPRO.hints
+++ b/sys/mips/conf/RSPRO.hints
@@ -17,6 +17,7 @@ hint.arge.1.fduplex=1 #
hint.arge.1.phymask=0x0 # no directly mapped PHYs
hint.arge.1.miimode=3 # RGMII
+hint.arswitch.0.at="mdio0"
hint.arswitch.0.is_7240=0
hint.arswitch.0.numphys=4
hint.arswitch.0.phy4cpu=1
OpenPOWER on IntegriCloud