diff options
author | Pascal Coudurier <coudu@wanadoo.fr> | 2022-01-25 21:18:28 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2022-03-17 21:55:10 +0100 |
commit | 0905b07139ebfa7fff6bd76207317846413ea4aa (patch) | |
tree | 2a69186354e047562a6403d724f0f05159030ff5 /target/linux/ath79/nand/base-files/etc/board.d/02_network | |
parent | 83ca16fc4350c65110caeb7143afc9e9cd300d23 (diff) | |
download | upstream-0905b07139ebfa7fff6bd76207317846413ea4aa.tar.gz upstream-0905b07139ebfa7fff6bd76207317846413ea4aa.tar.bz2 upstream-0905b07139ebfa7fff6bd76207317846413ea4aa.zip |
ath79: improve support for GL.iNet GL-XE300
- fix eth0 eth1 sharing same mac so it conforms to the behavior stated
in the original commit and the way it is in vendor firmware :
WAN is label, LAN is label +1 and WLAN is label +2
- add default leds config
- add default network config
Signed-off-by: Pascal Coudurier <coudu@wanadoo.fr>
Diffstat (limited to 'target/linux/ath79/nand/base-files/etc/board.d/02_network')
-rw-r--r-- | target/linux/ath79/nand/base-files/etc/board.d/02_network | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ath79/nand/base-files/etc/board.d/02_network b/target/linux/ath79/nand/base-files/etc/board.d/02_network index 417a881e5b..bda4eeb917 100644 --- a/target/linux/ath79/nand/base-files/etc/board.d/02_network +++ b/target/linux/ath79/nand/base-files/etc/board.d/02_network @@ -25,6 +25,11 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "2:lan:2" "3:lan:1" "1:wan" ;; + glinet,gl-xe300) + ucidef_set_interface_wan "eth1" + ucidef_add_switch "switch0" \ + "0@eth0" "4:lan" + ;; netgear,r6100) ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ |