From f4b590dbf115ff7838bc26c77587749c1209e80d Mon Sep 17 00:00:00 2001 From: adrian Date: Wed, 8 May 2013 20:57:37 +0000 Subject: [PATCH] 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 Reviewed by: ray --- sys/mips/conf/ROUTERSTATION | 6 ++++++ sys/mips/conf/ROUTERSTATION.hints | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/sys/mips/conf/ROUTERSTATION b/sys/mips/conf/ROUTERSTATION index 7243d7471894..dded480f5933 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 faad82d63046..775e2456eb7d 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"