summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-12-28 10:18:48 +0100
committerMathias Kresin <dev@kresin.me>2018-01-09 22:06:55 +0100
commitc9e2c35f46346fc460a78b8f13b70d538c47cb27 (patch)
treee8def2744bc1f68beeee290eadd6ee55787968e4 /target/linux/kirkwood/base-files/etc/board.d/02_network
parentaa6f5f1787a69c8b9af7533010f2d099075d9826 (diff)
downloadmtk-20170518-c9e2c35f46346fc460a78b8f13b70d538c47cb27.zip
mtk-20170518-c9e2c35f46346fc460a78b8f13b70d538c47cb27.tar.gz
mtk-20170518-c9e2c35f46346fc460a78b8f13b70d538c47cb27.tar.bz2
kirkwood: use the generic board detect
Drop the target specific detection function in favour of the generic one provided by base-files. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/02_network20
1 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network
index 549d232..b83d0d2 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/02_network
+++ b/target/linux/kirkwood/base-files/etc/board.d/02_network
@@ -11,24 +11,24 @@ board_config_update
board=$(board_name)
case "$board" in
-"dockstar"|\
-"goflexhome"|\
-"goflexnet"|\
-"ib62x0"|\
-"iconnect"|\
-"pogo_e02")
+"seagate,dockstar"|\
+"seagate,goflexhome"|\
+"seagate,goflexnet"|\
+"raidsonic,ib-nas62x0"|\
+"iom,iconnect-1.1"|\
+"cloudengines,pogoe02")
ucidef_set_interface_lan "eth0" "dhcp"
;;
-"linksys-audi"|\
-"linksys-viper")
+"linksys,audi"|\
+"linksys,viper")
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1"
;;
-"nsa310b"|"nsa325")
+"zyxel,nsa310b"|"zyxel,nsa325")
ucidef_set_interface_lan "eth0" "dhcp"
ucidef_set_interface_macaddr "lan" $( mtd_get_mac_ascii uboot_env ethaddr )
;;
-"on100")
+"cisco,on100")
ucidef_set_interface_lan "eth0 eth1"
;;
*)