From 1b0e7a1453ad968cd866b9d206a588caabbbb835 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Sun, 18 Feb 2018 22:49:10 +0100 Subject: ar71xx: fix COMFAST CF-E375AC support Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/base-files/etc/board.d/02_network | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/ar71xx/base-files/etc/board.d/02_network') diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 434056a344..f4e113a814 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -266,6 +266,11 @@ ar71xx_setup_interfaces() rme-eg200) ucidef_set_interface_lan "eth0" "dhcp" ;; + cf-e375ac|\ + rb-map-2nd) + ucidef_add_switch "switch0" \ + "0@eth0" "1:wan" "2:lan" + ;; cf-e385ac) ucidef_set_interfaces_lan_wan "eth0.1" "eth1.2" ucidef_add_switch "switch0" \ @@ -447,11 +452,6 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch1" \ "0@eth1" "1:lan:4" "2:lan:1" "3:lan:3" "4:lan:2" "5:wan" ;; - cf-e375ac |\ - rb-map-2nd) - ucidef_add_switch "switch0" \ - "0@eth0" "1:wan" "2:lan" - ;; rut900) ucidef_set_interfaces_lan_wan "eth0.1" "eth1" ucidef_add_switch "switch0" \ -- cgit v1.2.3