[source] mvebu: clearfog: assign SFP port to WAN zone

LEDE Commits lede-commits at lists.infradead.org
Tue May 30 05:01:37 PDT 2017


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

commit d41a441bb613537916460542eb89d517d1856b5d
Author: Josua Mayer <josua.mayer97 at gmail.com>
AuthorDate: Mon May 22 19:07:13 2017 +0200

    mvebu: clearfog: assign SFP port to WAN zone
    
    The single SFP port is meant for direct media access to WAN, such as
    VDSL2, GPON). While it could also be used for in-home fiber, it is much
    more likely that the LAN is standard ethernet, especially considering
    that SFP is the onmly port that can go beyond 1Gbps.
    
    Signed-off-by: Josua Mayer <josua.mayer97 at gmail.com>
---
 target/linux/mvebu/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 57ffbb4..94ce7d7 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -31,7 +31,7 @@ armada-388-clearfog-*)
 	# eth0 is standalone ethernet
 	# eth1 is switch (-pro) or standalone ethernet (-base)
 	# eth2 is SFP
-	ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
+	ucidef_set_interfaces_lan_wan "eth1" "eth0 eth2"
 
 	# if switch exists (clearfog-pro)
 	# switch port 5 is connected to eth1



More information about the lede-commits mailing list