summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-05-08 20:57:37 +0000
committeradrian <adrian@FreeBSD.org>2013-05-08 20:57:37 +0000
commitf4b590dbf115ff7838bc26c77587749c1209e80d (patch)
tree28c8b9d44182c81f6896094196f4ea6cc111b9fb /sys/mips/conf
parenta76876a4804ec88f9a133b608e5a753d1043cb32 (diff)
downloadFreeBSD-src-f4b590dbf115ff7838bc26c77587749c1209e80d.zip
FreeBSD-src-f4b590dbf115ff7838bc26c77587749c1209e80d.tar.gz
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
Diffstat (limited to 'sys/mips/conf')
-rw-r--r--sys/mips/conf/ROUTERSTATION6
-rw-r--r--sys/mips/conf/ROUTERSTATION.hints9
2 files changed, 13 insertions, 2 deletions
diff --git a/sys/mips/conf/ROUTERSTATION b/sys/mips/conf/ROUTERSTATION
index 7243d74..dded480 100644
--- a/sys/mips/conf/ROUTERSTATION
+++ b/sys/mips/conf/ROUTERSTATION
@@ -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\"
diff --git a/sys/mips/conf/ROUTERSTATION.hints b/sys/mips/conf/ROUTERSTATION.hints
index faad82d..775e245 100644
--- a/sys/mips/conf/ROUTERSTATION.hints
+++ b/sys/mips/conf/ROUTERSTATION.hints
@@ -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"
OpenPOWER on IntegriCloud