From 1e395608cc7e0614f36137ad2a4b3ea6836fd9d6 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Thu, 26 May 2016 23:08:22 +0200 Subject: lantiq: VGV7519 - add vlan support Add the lantiq,switch property to enable vlans and setup them up. Signed-off-by: Mathias Kresin --- target/linux/lantiq/base-files/etc/board.d/02_network | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/lantiq/base-files') 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 4166df0d8e..9d4be58378 100755 --- a/target/linux/lantiq/base-files/etc/board.d/02_network +++ b/target/linux/lantiq/base-files/etc/board.d/02_network @@ -130,7 +130,8 @@ BTHOMEHUBV5A) VGV7519) lan_mac=$(mtd_get_mac_binary board_config 22) wan_mac=$(macaddr_add "$lan_mac" 1) - ucidef_set_interface_lan 'eth0' + ucidef_add_switch "switch0" \ + "4:lan:1" "2:lan:2" "1:lan:3" "0:lan:4" "6t@eth0" ;; VGV7510KW22) -- cgit v1.2.3