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:
f8ad7ea
)
CC: ar71xx: add user-space support for EnGenius EPG5000.
author
John Crispin
<
[email protected]
>
Fri, 24 Jul 2015 08:58:33 +0000
(08:58 +0000)
committer
John Crispin
<
[email protected]
>
Fri, 24 Jul 2015 08:58:33 +0000
(08:58 +0000)
Backport of r46048.
Signed-off-by: Christian Beier <
[email protected]
>
SVN-Revision: 46447
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 bce01f0bb4b6baa271f9f413e209827ae208db85..7ff5a8e1d66a01acbcd12f3490924cc8ae627cbc 100644
(file)
--- a/
target/linux/ar71xx/base-files/etc/diag.sh
+++ b/
target/linux/ar71xx/base-files/etc/diag.sh
@@
-99,6
+99,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 c76b875aab40c3d1bf4237b6144080b68922082a..4b8a3ec3eac8e9756bbd2894c5531b35f3ed2771 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 8f41babb2c172fe77b00379c042c780bf972d987..f19af26ed03e95e3a33a3ae4c7b6915ff025465e 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-442,6
+442,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 8d7dc4086eaaadac9edd20930fc5a56e2a295fad..205cf22454d65d6ab6a0b508f2c40e33d1642ce7 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-210,6
+210,7
@@
platform_check_image() {
dlan-pro-500-wp | \
dlan-pro-1200-ac | \
dragino2 | \
+ epg5000 | \
esr1750 | \
esr900 | \
ew-dorin | \