svn commit: r275462 - head/sys/mips/conf

Sean Bruno sbruno at FreeBSD.org
Wed Dec 3 18:08:40 UTC 2014


Author: sbruno
Date: Wed Dec  3 18:08:39 2014
New Revision: 275462
URL: https://svnweb.freebsd.org/changeset/base/275462

Log:
  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 at desert.net>

Modified:
  head/sys/mips/conf/WZR-HPAG300H.hints

Modified: head/sys/mips/conf/WZR-HPAG300H.hints
==============================================================================
--- head/sys/mips/conf/WZR-HPAG300H.hints	Wed Dec  3 16:04:01 2014	(r275461)
+++ head/sys/mips/conf/WZR-HPAG300H.hints	Wed Dec  3 18:08:39 2014	(r275462)
@@ -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
 


More information about the svn-src-all mailing list