projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath79: add support for GL.iNet GL-X300B
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
generic
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ath79/generic/base-files/etc/board.d/02_network
b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index af8619845b7b5c0d596b55564a8e7d23d74316b1..4fe7fbc027d9ebe5a48f0b083191ee4bfc471a6e 100644
(file)
--- a/
target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/
target/linux/ath79/generic/base-files/etc/board.d/02_network
@@
-272,6
+272,11
@@
ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "1:lan" "2:lan"
;;
+ glinet,gl-x300b)
+ ucidef_set_interface_wan "eth1"
+ ucidef_add_switch "switch0" \
+ "0@eth0" "4:lan"
+ ;;
iodata,etg3-r|\
iodata,wn-ac1167dgr|\
iodata,wn-ac1600dgr|\