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 Ubiquiti UniFi AC-Pro
[openwrt/openwrt.git]
/
target
/
linux
/
ath79
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/ath79/base-files/etc/board.d/02_network
b/target/linux/ath79/base-files/etc/board.d/02_network
index e2a45b05261aed90781eaeb5c65546c85bd3bc2e..3282d8ad901fa7adbbc13a5450947fed623efc43 100755
(executable)
--- a/
target/linux/ath79/base-files/etc/board.d/02_network
+++ b/
target/linux/ath79/base-files/etc/board.d/02_network
@@
-15,7
+15,7
@@
ath79_setup_interfaces()
"avm,fritz300e"|\
"tplink,tl-mr10u"|\
"tplink,tl-wr703n"|\
"avm,fritz300e"|\
"tplink,tl-mr10u"|\
"tplink,tl-wr703n"|\
- "ubnt,u
bnt-u
nifiac-lite"|\
+ "ubnt,unifiac-lite"|\
"ubnt,unifi")
ucidef_set_interface_lan "eth0"
;;
"ubnt,unifi")
ucidef_set_interface_lan "eth0"
;;
@@
-98,6
+98,10
@@
ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "3:lan:1" "5:lan:2" "4:wan"
;;
ucidef_add_switch "switch0" \
"0@eth0" "3:lan:1" "5:lan:2" "4:wan"
;;
+ "ubnt,unifiac-pro")
+ ucidef_add_switch "switch0" \
+ "0@eth0" "2:lan" "3:wan"
+ ;;
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;
*)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
;;