From: Felix Fietkau Date: Mon, 14 Nov 2016 19:01:46 +0000 (+0100) Subject: bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHP X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1a1c3c690f6411fec0e91bfbdcf28a012a3e0f4e;p=librecmc%2Flibrecmc.git bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHP Signed-off-by: Felix Fietkau --- 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 5e6092a86e..672b1349df 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