diff options
author | adrian <adrian@FreeBSD.org> | 2015-04-01 06:44:39 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-04-01 06:44:39 +0000 |
commit | d3d56db7e85c27a1a5ca5c43102147b8471ad91e (patch) | |
tree | 45aa39875fdfdaeba56e5d17c3ac44f2a45ce95a /sys/mips | |
parent | 58943901b7a1bdd53752be2cb59522920a496313 (diff) | |
download | FreeBSD-src-d3d56db7e85c27a1a5ca5c43102147b8471ad91e.zip FreeBSD-src-d3d56db7e85c27a1a5ca5c43102147b8471ad91e.tar.gz |
Migrate the TL-WR1043nd v2 to use the new map based MAC hints mechanism.
This programs separate, correct mac addresses for the ethernet and
wlan interfaces.
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/conf/TL-WR1043NDv2.hints | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sys/mips/conf/TL-WR1043NDv2.hints b/sys/mips/conf/TL-WR1043NDv2.hints index b7e2831..a5b158a 100644 --- a/sys/mips/conf/TL-WR1043NDv2.hints +++ b/sys/mips/conf/TL-WR1043NDv2.hints @@ -6,6 +6,25 @@ # QCA955X_ETH_CFG_RGMII_EN (1 << 0) hint.qca955x_gmac.0.gmac_cfg=0x1 +# Use base mac address for wifi; +1 and +2 for arge0/arge1. +hint.ar71xx.0.eeprom_mac_addr=0x1f01fc00 +hint.ar71xx.0.eeprom_mac_isascii=0 + +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=arge +hint.ar71xx_mac_map.1.unitid=0 +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=1 +hint.ar71xx_mac_map.2.offset=2 +hint.ar71xx_mac_map.2.is_local=0 + # mdiobus0 on arge0 hint.argemdio.0.at="nexus0" hint.argemdio.0.maddr=0x19000000 @@ -89,8 +108,6 @@ hint.arge.0.media=1000 hint.arge.0.fduplex=1 hint.arge.0.pll_1000=0x56000000 -hint.arge.0.eeprommac=0x1f01fc00 - # arge1 - lock up to 1000/full hint.arge.1.phymask=0x0 hint.arge.1.media=1000 |