Author: adrian
Date: Wed May  8 20:57:37 2013
New Revision: 250385
URL: http://svnweb.freebsd.org/changeset/base/250385

Log:
  Modify the routerstation config to use ukswitch for now.
  
  Until an ADM6996 driver shows up, this allows for the two switch
  ports to be used.
  
  Submitted by: Luiz Otavio O Souza <loos...@gmail.com>
  Reviewed by:  ray

Modified:
  head/sys/mips/conf/ROUTERSTATION
  head/sys/mips/conf/ROUTERSTATION.hints

Modified: head/sys/mips/conf/ROUTERSTATION
==============================================================================
--- head/sys/mips/conf/ROUTERSTATION    Wed May  8 20:56:43 2013        
(r250384)
+++ head/sys/mips/conf/ROUTERSTATION    Wed May  8 20:57:37 2013        
(r250385)
@@ -18,5 +18,11 @@ options              GEOM_UZIP
 # For DOS
 options                MSDOSFS
 
+# Etherswitch support
+options                ARGE_MDIO
+device         miiproxy
+device         etherswitch
+device         ukswitch
+
 # Boot path - redboot MFS
 options                ROOTDEVNAME=\"ufs:redboot/rootfs.uzip\"

Modified: head/sys/mips/conf/ROUTERSTATION.hints
==============================================================================
--- head/sys/mips/conf/ROUTERSTATION.hints      Wed May  8 20:56:43 2013        
(r250384)
+++ head/sys/mips/conf/ROUTERSTATION.hints      Wed May  8 20:57:37 2013        
(r250385)
@@ -5,12 +5,17 @@
 # Uncomment this hint for RS (not PRO)
 # PHY20 = 1 << 20
 hint.arge.0.phymask=0x100000
+hint.arge.0.mdio=mdioproxy1    # .. off of the switch mdiobus
 
 # should be 100 for RS 
 hint.arge.1.media=100
 hint.arge.1.fduplex=1
-# Uncomment this hint for RS (not PRO)
-hint.arge.1.phymask=0x30000
+hint.arge.1.phymask=0x0
+hint.arge.1.mdio=mdioproxy1    # .. off of the switch mdiobus
+
+# ukswitch
+hint.ukswitch.0.at="mdio0"
+hint.ukswitch.0.phymask=0x30000
 
 # RF led
 hint.gpioled.0.at="gpiobus0"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to