[source] bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHP

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 14 11:05:42 PST 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/1a1c3c690f6411fec0e91bfbdcf28a012a3e0f4e

commit 1a1c3c690f6411fec0e91bfbdcf28a012a3e0f4e
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Nov 14 20:01:46 2016 +0100

    bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHP
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/linux/bcm53xx/base-files/etc/board.d/02_network | 7 +++++++
 1 file changed, 7 insertions(+)

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 at eth0"
+	board_config_flush
+	exit 0
+	;;
 esac
 
 case "$board" in



More information about the lede-commits mailing list