ipq806x: add ipq4019 fritz4040 support
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / board.d / 02_network
index 52bb1629f7ba14f8799121a0c4437c1ef9a35da4..36e0fb3a0eb051e32a447234f00103194471745a 100755 (executable)
@@ -36,6 +36,11 @@ ea8500)
        ucidef_set_interface_macaddr "lan" "$hw_mac_addr"
        ucidef_set_interface_macaddr "wan" "$hw_mac_addr"
        ;;
+fritz4040)
+       ucidef_set_interfaces_lan_wan "eth0" "eth1"
+       ucidef_add_switch "switch0" \
+               "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
+       ;;
 nbg6817)
        hw_mac_addr=$(mtd_get_mac_ascii 0:APPSBLENV ethaddr)
        ucidef_add_switch "switch0" \