projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add user-space support for the Omnima EMB HPM board
[openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
etc
/
uci-defaults
/
02_network
diff --git
a/target/linux/ramips/base-files/etc/uci-defaults/02_network
b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index
cc5b8c2
..
b6fff7a
100755
(executable)
--- a/
target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/
target/linux/ramips/base-files/etc/uci-defaults/02_network
@@
-122,6
+122,7
@@
ramips_setup_interfaces()
ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
;;
ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
;;
+ omni-emb-hpm|\
wli-tx4-ag300n)
ucidef_set_interface_lan "eth0"
;;
wli-tx4-ag300n)
ucidef_set_interface_lan "eth0"
;;
@@
-208,6
+209,10
@@
ramips_setup_macs()
wan_mac=$(ramips_get_mac_binary factory 40)
;;
wan_mac=$(ramips_get_mac_binary factory 40)
;;
+ omni-emb-hpm)
+ lan_mac=$(ramips_get_mac_binary factory 40)
+ ;;
+
f5d8235-v2)
lan_mac=$(ramips_get_mac_binary "u-boot" 262148)
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
f5d8235-v2)
lan_mac=$(ramips_get_mac_binary "u-boot" 262148)
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)