svn commit: r280948 - head/sys/mips/conf
Adrian Chadd
adrian at FreeBSD.org
Wed Apr 1 06:44:40 UTC 2015
Author: adrian
Date: Wed Apr 1 06:44:39 2015
New Revision: 280948
URL: https://svnweb.freebsd.org/changeset/base/280948
Log:
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.
Modified:
head/sys/mips/conf/TL-WR1043NDv2.hints
Modified: head/sys/mips/conf/TL-WR1043NDv2.hints
==============================================================================
--- head/sys/mips/conf/TL-WR1043NDv2.hints Wed Apr 1 05:55:03 2015 (r280947)
+++ head/sys/mips/conf/TL-WR1043NDv2.hints Wed Apr 1 06:44:39 2015 (r280948)
@@ -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
More information about the svn-src-head
mailing list