projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: Add Gainstrong MiniBox v1.0 support to trunk
[oweals/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
ar71xx.sh
diff --git
a/target/linux/ar71xx/base-files/lib/ar71xx.sh
b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index efb3d1639a2a76433b0af97c4405d520a7edec03..5f02e4e1ca260c7f8aa5c13219c067ad649adc8b 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/
target/linux/ar71xx/base-files/lib/ar71xx.sh
@@
-107,11
+107,11
@@
tplink_board_detect() {
"015300"*)
model="EasyLink EL-MINI"
;;
"015300"*)
model="EasyLink EL-MINI"
;;
- "04440
00
1"*)
- model="
BITMAIN ANTMINER
S1"
+ "044401"*)
+ model="
ANTMINER-
S1"
;;
;;
- "04440
00
3"*)
- model="
BITMAIN ANTMINER
S3"
+ "044403"*)
+ model="
ANTMINER-
S3"
;;
"120000"*)
model="MERCURY MAC1200R"
;;
"120000"*)
model="MERCURY MAC1200R"
@@
-119,6
+119,9
@@
tplink_board_detect() {
"3C0001"*)
model="OOLITE"
;;
"3C0001"*)
model="OOLITE"
;;
+ "3C0002"*)
+ model="MINIBOX_V1"
+ ;;
"070300"*)
model="TP-Link TL-WR703N"
;;
"070300"*)
model="TP-Link TL-WR703N"
;;
@@
-350,6
+353,12
@@
ar71xx_board_detect() {
*ALL0315N)
name="all0315n"
;;
*ALL0315N)
name="all0315n"
;;
+ *Antminer-S1)
+ name="antminer-s1"
+ ;;
+ *Antminer-S3)
+ name="antminer-s3"
+ ;;
*AP113)
name="ap113"
;;
*AP113)
name="ap113"
;;
@@
-514,6
+523,9
@@
ar71xx_board_detect() {
*"MAC1200R")
name="mc-mac1200r"
;;
*"MAC1200R")
name="mc-mac1200r"
;;
+ *"MiniBox V1.0")
+ name="minibox-v1"
+ ;;
*MR12)
name="mr12"
;;
*MR12)
name="mr12"
;;
@@
-850,6
+862,9
@@
ar71xx_board_detect() {
*"UniFi AP Pro")
name="uap-pro"
;;
*"UniFi AP Pro")
name="uap-pro"
;;
+ "WeIO"*)
+ name="weio"
+ ;;
*WHR-G301N)
name="whr-g301n"
;;
*WHR-G301N)
name="whr-g301n"
;;