projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for TOTOLINK A3
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
mt76x8
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index 913a0817dc0eb49a951887052b26567f03c31546..523071750611dc6e2c3e4569095d4f3ee1fe186a 100755
(executable)
--- a/
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@
-72,7
+72,8
@@
ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "4:wan" "6@eth0"
;;
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "4:wan" "6@eth0"
;;
- iptime,a3)
+ iptime,a3|\
+ totolink,a3)
ucidef_add_switch "switch0" \
"2:lan:2" "3:lan:1" "0:wan" "6@eth0"
;;
ucidef_add_switch "switch0" \
"2:lan:2" "3:lan:1" "0:wan" "6@eth0"
;;
@@
-166,7
+167,8
@@
ramips_setup_macs()
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
iptime,a3|\
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
iptime,a3|\
- iptime,a604m)
+ iptime,a604m|\
+ totolink,a3)
wan_mac=$(mtd_get_mac_binary u-boot 0x1fc40)
;;
mediatek,linkit-smart-7688|\
wan_mac=$(mtd_get_mac_binary u-boot 0x1fc40)
;;
mediatek,linkit-smart-7688|\