diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-06-09 16:51:39 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-06-11 09:49:13 +0200 |
commit | 2d48f93ff4537628f6860cf6f562b7282384b035 (patch) | |
tree | 76bde06bd47f7fb92e3bde1bc56310772163d202 /target/linux/lantiq/base-files/etc/board.d/02_network | |
parent | cc87d144e18762db8fd40b2eed970111186994b2 (diff) | |
download | upstream-2d48f93ff4537628f6860cf6f562b7282384b035.tar.gz upstream-2d48f93ff4537628f6860cf6f562b7282384b035.tar.bz2 upstream-2d48f93ff4537628f6860cf6f562b7282384b035.zip |
lantiq: add Buffalo WBMR-300HPD support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/lantiq/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/lantiq/base-files/etc/board.d/02_network | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network index a3dc80c54b..89ffc79b0f 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -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 |