lantiq: add Buffalo WBMR-300HPD support
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / board.d / 02_network
index a3dc80c54b16d31e3950c3881e3d4f202ea205a2..89ffc79b0f68e34ce18694e76203d1d080e98b08 100755 (executable)
@@ -146,6 +146,13 @@ VGV7510KW22)
                "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "6t@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 [ -n "$(ls /lib/modules/`uname -r`/ltq_atm*)" ]; then