mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
ath79: fix MAC address assigment for TP-Link TL-WR740N/TL-WR741ND v4
On TP-Link TL-WR740N/TL-WR741ND v4 LAN MAC address (eth1 in DTS) is main
device MAC address, so do not increment it. WAN MAC is LAN MAC + 1.
Signed-off-by: Will Moss <willormos@gmail.com>
(cherry picked from commit 288b0004bf
)
This commit is contained in:
parent
8040f74f8d
commit
106fedd9ed
@ -118,7 +118,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
ð0 {
|
||||
ð0 { /* WAN interface, initialized last as eth1 */
|
||||
status = "okay";
|
||||
|
||||
nvmem-cells = <&macaddr_uboot_1fc00>;
|
||||
@ -133,12 +133,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
ð1 {
|
||||
ð1 { /* LAN interface, initialized first as eth0 */
|
||||
status = "okay";
|
||||
|
||||
nvmem-cells = <&macaddr_uboot_1fc00>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
mac-address-increment = <(-1)>;
|
||||
};
|
||||
|
||||
&wmac {
|
||||
|
Loading…
Reference in New Issue
Block a user