diff options
author | adrian <adrian@FreeBSD.org> | 2013-04-05 01:38:13 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-04-05 01:38:13 +0000 |
commit | 23dbf8315ac1903f1cd923146ace97a36d07482e (patch) | |
tree | 31e1b984aa67a1a363ead15cb6cfef3e9d51245e /sys/mips/conf/AP121 | |
parent | 7034fd9dd37d83b43c2d3a9d22e2f6d8f638a6f5 (diff) | |
download | FreeBSD-src-23dbf8315ac1903f1cd923146ace97a36d07482e.zip FreeBSD-src-23dbf8315ac1903f1cd923146ace97a36d07482e.tar.gz |
Add AP121 ethernet / switch PHY support.
* arge0 is MII
* arge1 is GMII
* the MDIO bus is on arge1, not arge0
* the default switch config is to have ports 0-3 as the switch group,
with port 4 being an external PHY dedicated to arge0 (ie, 'cpu' port.)
Whilst I'm here, remove unused bits and pieces from the config.
Tested:
* AP121, ping on both arge0 and arge1
* Tested switch port detection using etherswitchcfg
Diffstat (limited to 'sys/mips/conf/AP121')
-rw-r--r-- | sys/mips/conf/AP121 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/mips/conf/AP121 b/sys/mips/conf/AP121 index 9c933a1..ac4a3b6 100644 --- a/sys/mips/conf/AP121 +++ b/sys/mips/conf/AP121 @@ -18,7 +18,7 @@ ident AP121 hints "AP121.hints" # Force the board memory - the base AP121 only has 16MB RAM -options AR71XX_REALMEM=16*1024*1024 +options AR71XX_REALMEM=(16*1024*1024) # i2c GPIO bus #device gpioiic @@ -26,11 +26,12 @@ options AR71XX_REALMEM=16*1024*1024 #device iicbus #device iic -# ethernet switch device -#device etherswitch +# Options required for miiproxy and mdiobus +options ARGE_MDIO # Export an MDIO bus separate from arge +device miiproxy # MDIO bus <-> MII PHY rendezvous -# RTL8366RB support -#device rtl8366rb +device etherswitch +device arswitch # read MSDOS formatted disks - USB #options MSDOSFS |