forked from Ivasoft/openwrt
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>
This commit is contained in:
@@ -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"
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user