summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2014-12-03 18:08:39 +0000
committersbruno <sbruno@FreeBSD.org>2014-12-03 18:08:39 +0000
commitb82cdb45d3f376f77bdc12d52ec94cf32bea25a5 (patch)
tree2e8f1579d807e827314567f298fb2d0aa5ecfc02
parent0955bcdd21e020edd95513ac47f8b1f36da050d4 (diff)
downloadFreeBSD-src-b82cdb45d3f376f77bdc12d52ec94cf32bea25a5.zip
FreeBSD-src-b82cdb45d3f376f77bdc12d52ec94cf32bea25a5.tar.gz
Assign argemdio0 to the correct base address and assign argemdio1 to its
proper place *after* argemdio0 Correctly place arge0 and arge1 on their respective bus positions. Sponsored by: Nicholas Esborn <nick@desert.net>
-rw-r--r--sys/mips/conf/WZR-HPAG300H.hints14
1 files changed, 10 insertions, 4 deletions
diff --git a/sys/mips/conf/WZR-HPAG300H.hints b/sys/mips/conf/WZR-HPAG300H.hints
index b314b2f..0100986 100644
--- a/sys/mips/conf/WZR-HPAG300H.hints
+++ b/sys/mips/conf/WZR-HPAG300H.hints
@@ -5,10 +5,15 @@
# arge1 MDIO bus
hint.argemdio.0.at="nexus0"
-hint.argemdio.0.maddr=0x1a000000
+hint.argemdio.0.maddr=0x19000000
hint.argemdio.0.msize=0x1000
hint.argemdio.0.order=0
+hint.argemdio.1.at="nexus0"
+hint.argemdio.1.maddr=0x1a000000
+hint.argemdio.1.msize=0x1000
+hint.argemdio.1.order=0
+
hint.arge.0.phymask=0x0
hint.arge.0.media=1000
hint.arge.0.fduplex=1
@@ -20,15 +25,16 @@ hint.arge.1.phymask=0x10
hint.arge.1.media=1000
hint.arge.1.fduplex=1
hint.arge.1.eeprommac=0x1f05520c
-hint.arge.1.mdio=mdioproxy0 # .. off of the switch mdiobus
+hint.arge.1.mdio=mdioproxy1 # .. off of the switch mdiobus
hint.arge.1.miimode=3
+
#
-# AR7240 switch config
+# AR8317 switch config
#
hint.arswitch.0.at="mdio0"
hint.arswitch.0.is_7240=0 # We need to be explicitly told this
hint.arswitch.0.numphys=4 # 5 active switch PHYs (PHY 0 -> 4)
-hint.arswitch.0.phy4cpu=0 # No, PHY 4 == dedicated PHY
+hint.arswitch.0.phy4cpu=1 # No, PHY 4 == dedicated PHY
hint.arswitch.0.is_rgmii=1 # Yes, is RGMII
hint.arswitch.0.is_gmii=0 # No, not GMII
OpenPOWER on IntegriCloud