projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
990c322
)
ar71xx: add user-space support for EnGenius EPG5000.
author
John Crispin
<
[email protected]
>
Thu, 18 Jun 2015 20:24:41 +0000
(20:24 +0000)
committer
John Crispin
<
[email protected]
>
Thu, 18 Jun 2015 20:24:41 +0000
(20:24 +0000)
Signed-off-by: Christian Beier <
[email protected]
>
Backport of r46048
SVN-Revision: 46058
target/linux/ar71xx/base-files/etc/diag.sh
patch
|
blob
|
history
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
patch
|
blob
|
history
target/linux/ar71xx/base-files/lib/ar71xx.sh
patch
|
blob
|
history
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/etc/diag.sh
b/target/linux/ar71xx/base-files/etc/diag.sh
index 4bdb53db93548dba442331c79ccb5c929cd9acbe..c02efa87519d1f248ad834eba2e13f913e958cc4 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-92,6
+92,9
@@
get_status_led() {
gl-inet)
status_led="gl-connect:green:lan"
;;
+ epg5000)
+ status_led="epg5000:amber:power"
+ ;;
esr1750)
status_led="esr1750:amber:power"
;;
diff --git
a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 4fe951e3caf5e8598a2d436074dd9d8da66c2136..2fab4c2133f728876086585cab22666a7ea460df 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@
-30,7
+30,8
@@
wlr8100)
ucidef_add_switch_vlan "switch0" "2" "0t 1"
;;
-esr1750)
+esr1750 |\
+epg5000)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
diff --git
a/target/linux/ar71xx/base-files/lib/ar71xx.sh
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 8f4bb409ffe5675a17ece28c03815689f2834b42..00e39ae6392a7ce2330c4d42741c60db517990c9 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-433,6
+433,9
@@
ar71xx_board_detect() {
name="gl-inet"
gl_inet_board_detect
;;
+ *"EnGenius EPG5000")
+ name="epg5000"
+ ;;
*"EnGenius ESR1750")
name="esr1750"
;;
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index ade47fb8522591b56bb47a3a70a472e2dbf1911c..0f3ea9c2183a734f70c54a20270bb1985e130587 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-208,6
+208,7
@@
platform_check_image() {
dir-825-c1 | \
dir-835-a1 | \
dragino2 | \
+ epg5000 | \
esr1750 | \
esr900 | \
ew-dorin | \