X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Fbase-files%2Flib%2Far71xx.sh;h=04fb716c424c631a2af0d456db922aa806bd2f09;hb=2a0fcc029ffb599c595013b40056bf261ccdff56;hp=99e44672fedba5389dded0ad7ca58bb50f114e91;hpb=a5b60de2535a518e43fc67060512f2e9a9b93c30;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 99e44672fe..04fb716c42 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -130,6 +130,9 @@ tplink_board_detect() { "075000"*) model="TP-Link TL-WA750RE" ;; + "721000"*) + model="TP-Link TL-WA7210N" + ;; "751000"*) model="TP-Link TL-WA7510N" ;; @@ -180,6 +183,9 @@ tplink_board_detect() { "001101"*) model="TP-Link TL-MR11U" ;; + "001201"*) + model="TP-Link TL-MR12U" + ;; "001301"*) model="TP-Link TL-MR13U" ;; @@ -268,6 +274,19 @@ tplink_pharos_board_detect() { [ -n "$model" ] && AR71XX_MODEL="$model v$2" } +gl_inet_board_detect() { + local size="$(mtd_get_part_size 'firmware')" + + case "$size" in + 8192000) + AR71XX_MODEL='GL-iNet 6408A v1' + ;; + 16580608) + AR71XX_MODEL='GL-iNet 6416A v1' + ;; + esac +} + ar71xx_board_detect() { local machine local name @@ -395,6 +414,7 @@ ar71xx_board_detect() { ;; *"GL-CONNECT INET v1") name="gl-inet" + gl_inet_board_detect ;; *"EnGenius ESR1750") name="esr1750" @@ -648,6 +668,9 @@ ar71xx_board_detect() { *"TL-WA701ND v2") name="tl-wa701nd-v2" ;; + *"TL-WA7210N v2") + name="tl-wa7210n-v2" + ;; *TL-WA750RE) name="tl-wa750re" ;; @@ -726,7 +749,10 @@ ar71xx_board_detect() { *"TL-MR11U") name="tl-mr11u" ;; - *"TL-MR13U") + *"TL-MR12U") + name="tl-mr12u" + ;; + *"TL-MR13U v1") name="tl-mr13u" ;; *"Tube2H") @@ -759,6 +785,9 @@ ar71xx_board_detect() { *WPE72) name="wpe72" ;; + *WPJ558) + name="wpj558" + ;; *WNDAP360) name="wndap360" ;;