ramips: add support for Planex MZK-DP150N
[openwrt/staging/florian.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index 9fb3535149effee8292181c714d4b70b14011ce6..f896afafeee30971aa3a241cc46f3c79495a7d2b 100755 (executable)
@@ -261,6 +261,13 @@ ramips_setup_interfaces()
                ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
                ucidef_add_switch_vlan "switch0" "2" "0 5t"
                ;;
+
+       mzk-dp150n)
+               ucidef_set_interface_lan "eth0.1"
+               ucidef_add_switch "switch0" "1" "1"
+               ucidef_add_switch_vlan "switch0" "1" "0 4 6t"
+               ;;
+
        *)
                RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
                if [ -n "${RT3X5X}" ]; then