projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: add Netgear DM200 support
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/lantiq/base-files/etc/board.d/02_network
b/target/linux/lantiq/base-files/etc/board.d/02_network
index 55498b9f596963e0ea23d8a023676ea33b0bde8d..c245a8fa75c12e36a20c307577f8a503fdad42ce 100755
(executable)
--- a/
target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/
target/linux/lantiq/base-files/etc/board.d/02_network
@@
-100,6
+100,12
@@
DGN3500*)
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0"
;;
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5t@eth0"
;;
+DM200)
+ lan_mac=$(mtd_get_mac_binary ART 0)
+ wan_mac=$(macaddr_add "$lan_mac" 1)
+ ucidef_set_interface_lan 'eth0'
+ ;;
+
EASY80920NAND|EASY80920NOR)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)
EASY80920NAND|EASY80920NOR)
lan_mac=$(mtd_get_mac_ascii uboot_env ethaddr)
wan_mac=$(macaddr_add "$lan_mac" 1)