projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: add support for TP-Link TL-WR1043N v5
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ar71xx/base-files/etc/board.d/02_network
b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 876eeaba61c389c5a32fe552ad79f7094c496929..7cf4212ac76d9d66a6d6aa459b5fd00b9f469603 100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/
target/linux/ar71xx/base-files/etc/board.d/02_network
@@
-277,7
+277,8
@@
ar71xx_setup_interfaces()
dir-835-a1|\
esr900|\
mynet-n750|\
dir-835-a1|\
esr900|\
mynet-n750|\
- sr3200)
+ sr3200|\
+ tl-wr1043n-v5)
ucidef_add_switch "switch0" \
"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
;;
ucidef_add_switch "switch0" \
"0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
;;
@@
-542,6
+543,7
@@
ar71xx_setup_macs()
fritz300e)
lan_mac=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))
;;
fritz300e)
lan_mac=$(fritz_tffs -n maca -i $(find_mtd_part "tffs (1)"))
;;
+ tl-wr1043n-v5|\
tl-wr1043nd-v4)
lan_mac=$(mtd_get_mac_binary product-info 8)
wan_mac=$(macaddr_add "$lan_mac" 1)
tl-wr1043nd-v4)
lan_mac=$(mtd_get_mac_binary product-info 8)
wan_mac=$(macaddr_add "$lan_mac" 1)