projects
/
openwrt
/
staging
/
hauke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for Sercomm CPJ routers
[openwrt/staging/hauke.git]
/
target
/
linux
/
ramips
/
mt7620
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index a31fa2bc13dd9f812ae1e76650124f48836eb18f..cbfb8a1d863f31bcee32135fbfcd9dc93611f3fd 100644
(file)
--- a/
target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/
target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@
-119,6
+119,8
@@
ramips_setup_interfaces()
netgear,jwnr2010-v5|\
phicomm,k2-v22.4|\
phicomm,k2-v22.5|\
netgear,jwnr2010-v5|\
phicomm,k2-v22.4|\
phicomm,k2-v22.5|\
+ rostelecom,rt-fl-1|\
+ rostelecom,s1010|\
trendnet,tew-810dr|\
zbtlink,zbt-we2026)
ucidef_add_switch "switch0" \
trendnet,tew-810dr|\
zbtlink,zbt-we2026)
ucidef_add_switch "switch0" \
@@
-392,6
+394,11
@@
ramips_setup_macs()
linksys,e1700)
wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR)
;;
linksys,e1700)
wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR)
;;
+ rostelecom,rt-fl-1|\
+ rostelecom,s1010)
+ label_mac=$(mtd_get_mac_binary "SC Nvram(permanent data)" 0x0)
+ wan_mac=$(macaddr_add "$label_mac" 10)
+ ;;
snr,cpe-w4n-mt)
lan_mac=$(mtd_get_mac_binary Factory 0x28)
wan_mac=$(mtd_get_mac_binary Factory 0x2e)
snr,cpe-w4n-mt)
lan_mac=$(mtd_get_mac_binary Factory 0x28)
wan_mac=$(mtd_get_mac_binary Factory 0x2e)