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.
This commit is contained in:
parent
582aab3be4
commit
34a3c98143
@ -6,6 +6,25 @@
|
|||||||
# QCA955X_ETH_CFG_RGMII_EN (1 << 0)
|
# QCA955X_ETH_CFG_RGMII_EN (1 << 0)
|
||||||
hint.qca955x_gmac.0.gmac_cfg=0x1
|
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
|
# mdiobus0 on arge0
|
||||||
hint.argemdio.0.at="nexus0"
|
hint.argemdio.0.at="nexus0"
|
||||||
hint.argemdio.0.maddr=0x19000000
|
hint.argemdio.0.maddr=0x19000000
|
||||||
@ -89,8 +108,6 @@ hint.arge.0.media=1000
|
|||||||
hint.arge.0.fduplex=1
|
hint.arge.0.fduplex=1
|
||||||
hint.arge.0.pll_1000=0x56000000
|
hint.arge.0.pll_1000=0x56000000
|
||||||
|
|
||||||
hint.arge.0.eeprommac=0x1f01fc00
|
|
||||||
|
|
||||||
# arge1 - lock up to 1000/full
|
# arge1 - lock up to 1000/full
|
||||||
hint.arge.1.phymask=0x0
|
hint.arge.1.phymask=0x0
|
||||||
hint.arge.1.media=1000
|
hint.arge.1.media=1000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user