"0t@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4"
;;
+# rtl8306g
+ARV7506PW11)
+ lan_mac=$(mtd_get_mac_binary board_config 22)
+ wan_mac=$(macaddr_add "$lan_mac" 2)
+ ucidef_add_switch "switch0" \
+ "4:lan:1" "3:lan:2" "2:lan:3" "1:lan:4" "5t@eth0"
+ ;;
+
# rtl8306g
ARV7519PW)
lan_mac=$(mtd_get_mac_binary board_config 22)
ucidef_set_interface_lan 'eth0'
;;
+ARV4518PWR01*)
+ ucidef_set_interface_lan 'eth0'
+ ;;
+
DGN3500*)
ucidef_add_switch "switch0" \
"3:lan:1" "2:lan:2" "1:lan:3" "0:lan:4" "5t@eth0"
;;
-GR7000)
- ucidef_set_interface_wan "eth0"
+FRITZ7360SL)
+ ucidef_add_switch "switch0" \
+ "4:lan:1" "2:lan:2" "0:lan:3" "1:lan:4" "6t@eth0"
;;
H201L)
VGV7519)
lan_mac=$(mtd_get_mac_binary board_config 22)
wan_mac=$(macaddr_add "$lan_mac" 1)
- ucidef_set_interface_lan 'eth0'
+ ucidef_add_switch "switch0" \
+ "4:lan:1" "2:lan:2" "1:lan:3" "0:lan:4" "6t@eth0"
;;
VGV7510KW22)
ucidef_add_switch "switch0" \
"2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6t@eth0"
;;
+*)
+ ucidef_set_interface_lan 'eth0'
+ ;;
+
+WBMR300)
+ lan_mac=$(mtd_get_mac_ascii ubootconfig ethaddr)
+ wan_mac="$lan_mac"
+ ucidef_add_switch "switch0" \
+ "2:lan:1" "3:lan:2" "5:lan:3" "4:wan:1" "6t@eth0"
+ ;;
esac
if grep -qE "system type.*: (VR9|xRX200)" /proc/cpuinfo; then
interface_wan="ptm0"
- ucidef_add_vdsl_modem "$annex" "/lib/firmware/vdsl.bin" "av" "ptm"
+ ucidef_add_vdsl_modem "$annex" "av" "ptm"
else
interface_wan="nas0"
ucidef_add_adsl_modem "$annex" "/lib/firmware/adsl.bin"