summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-11-14 20:01:46 +0100
committerFelix Fietkau <nbd@nbd.name>2016-11-14 20:03:21 +0100
commit1a1c3c690f6411fec0e91bfbdcf28a012a3e0f4e (patch)
treeba5b2387e83570329e94b6dfba65a768e9120ccd
parentecab50023289fc1626dc0e080462897790039b75 (diff)
downloadmtk-20170518-1a1c3c690f6411fec0e91bfbdcf28a012a3e0f4e.zip
mtk-20170518-1a1c3c690f6411fec0e91bfbdcf28a012a3e0f4e.tar.gz
mtk-20170518-1a1c3c690f6411fec0e91bfbdcf28a012a3e0f4e.tar.bz2
bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHP
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rwxr-xr-xtarget/linux/bcm53xx/base-files/etc/board.d/02_network7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network
index 5e6092a..672b134 100755
--- a/target/linux/bcm53xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network
@@ -16,6 +16,13 @@ tenda,ac9)
board_config_flush
exit 0
;;
+buffalo,wxr-1900dhp| \
+buffalo,wzr-1750dhp)
+ ucidef_add_switch "switch0" \
+ "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "4:wan:5" "5@eth0"
+ board_config_flush
+ exit 0
+ ;;
esac
case "$board" in