Author: adrian Date: Sun Apr 5 22:00:44 2015 New Revision: 281122 URL: https://svnweb.freebsd.org/changeset/base/281122
Log: Convert the DIR-825C1 to use the new map based MAC address configuration. Tested: * DIR-825C1 Modified: head/sys/mips/conf/DIR-825C1.hints Modified: head/sys/mips/conf/DIR-825C1.hints ============================================================================== --- head/sys/mips/conf/DIR-825C1.hints Sun Apr 5 21:10:38 2015 (r281121) +++ head/sys/mips/conf/DIR-825C1.hints Sun Apr 5 22:00:44 2015 (r281122) @@ -1,13 +1,37 @@ # $FreeBSD$ -# This is a placeholder until the hardware support is complete. - # mdiobus0 on arge0 hint.argemdio.0.at="nexus0" hint.argemdio.0.maddr=0x19000000 hint.argemdio.0.msize=0x1000 hint.argemdio.0.order=0 +# 0x1ffe0004 is the the "unit MAC". +# 0x1ffe0018 is the second "MAC". +# Right now this doesn't have any option for more than one +# "unit MACs", so: +# ath0: unit MAC +# ath1: unit MAC + 1 +# arge0: unit MAC + 2 +# arge1: leave as default; not used. +hint.ar71xx.0.eeprom_mac_addr=0x1ffe0004 +hint.ar71xx.0.eeprom_mac_isascii=1 + +hint.ar71xx_mac_map.0.devid=ath +hint.ar71xx_mac_map.0.unitid=0 +hint.ar71xx_mac_map.0.offset=0 +hint.ar71xx_mac_map.0.is_local=0 + +hint.ar71xx_mac_map.1.devid=ath +hint.ar71xx_mac_map.1.unitid=1 +hint.ar71xx_mac_map.1.offset=1 +hint.ar71xx_mac_map.1.is_local=0 + +hint.ar71xx_mac_map.2.devid=arge +hint.ar71xx_mac_map.2.unitid=0 +hint.ar71xx_mac_map.2.offset=2 +hint.ar71xx_mac_map.2.is_local=0 + # DIR-825C1 GMAC configuration # + AR934X_ETH_CFG_RGMII_GMAC0 (1 << 0) # Onboard AR9344 10/100 switch is not wired up _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"