diff options
author | adrian <adrian@FreeBSD.org> | 2012-05-11 21:13:43 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-05-11 21:13:43 +0000 |
commit | bd47e4745e35d2f909c3c1f32125b61b1e1aff2a (patch) | |
tree | 0b59e0429ace58c0ac10e5a26fb68913865df8ea /sys/mips/conf | |
parent | 833b9dea709eae69aa3bf0744016c4357c703d0e (diff) | |
download | FreeBSD-src-bd47e4745e35d2f909c3c1f32125b61b1e1aff2a.zip FreeBSD-src-bd47e4745e35d2f909c3c1f32125b61b1e1aff2a.tar.gz |
Add switch support to AP96.
Diffstat (limited to 'sys/mips/conf')
-rw-r--r-- | sys/mips/conf/AP96 | 3 | ||||
-rw-r--r-- | sys/mips/conf/AP96.hints | 16 |
2 files changed, 9 insertions, 10 deletions
diff --git a/sys/mips/conf/AP96 b/sys/mips/conf/AP96 index 28e4c70..4a0d59e 100644 --- a/sys/mips/conf/AP96 +++ b/sys/mips/conf/AP96 @@ -44,3 +44,6 @@ device firmware # Used by the above # Options required for miiproxy and mdiobus options ARGE_MDIO # Export an MDIO bus separate from arge device miiproxy # MDIO bus <-> MII PHY rendezvous + +device etherswitch +device arswitch diff --git a/sys/mips/conf/AP96.hints b/sys/mips/conf/AP96.hints index 8ac21c5..c0778bc 100644 --- a/sys/mips/conf/AP96.hints +++ b/sys/mips/conf/AP96.hints @@ -5,21 +5,17 @@ hint.argemdio.0.at="nexus0" hint.argemdio.0.maddr=0x19000000 hint.argemdio.0.msize=0x1000 hint.argemdio.0.order=0 +# This creates an automatic mdioproxy0! -# Create two mdioproxy instances - by default only one is created -# per mdiobus above. -hint.mdioproxy.0.at="mdio0" -hint.mdioproxy.1.at="mdio0" + +# The switch automatically probes off of mdio0, and will +# create an mdioproxy1. # TODO: RGMII -# XXX this port currently doesn't work with the current configuration. -hint.arge.0.phymask=0x0f +hint.arge.0.phymask=0x0 # Nothing attached here (XXX?) hint.arge.0.media=1000 hint.arge.0.fduplex=1 hint.arge.0.miimode=3 # RGMII -# For now, rendezouvs this on the arge0 mdiobus. -# Later, this will rendezvous via the AR8316 switch. -hint.arge.0.mdio=mdioproxy0 # TODO: RGMII hint.arge.1.phymask=0x10 @@ -27,7 +23,7 @@ hint.arge.1.phymask=0x10 # For now, rendezouvs this on the arge0 mdiobus. # Later, this will rendezvous via the AR8316 switch. hint.arge.1.miimode=3 # RGMII -hint.arge.1.mdio=mdioproxy1 +hint.arge.1.mdio=mdioproxy1 # off the switch mdiobus # ath0 - slot 17 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1fff1000 |