bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHP
authorFelix Fietkau <nbd@nbd.name>
Mon, 14 Nov 2016 19:01:46 +0000 (20:01 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 14 Nov 2016 19:03:21 +0000 (20:03 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/bcm53xx/base-files/etc/board.d/02_network

index 5e6092a86ef0909f8c9b7b6cbabb6378f1b19c48..672b1349dfbae145ef1efee135b792a45ca259d5 100755 (executable)
@@ -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