Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2013 20:57:37 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250385 - head/sys/mips/conf
Message-ID:  <201305082057.r48Kvbpp080595@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.br@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305082057.r48Kvbpp080595>