summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds1
-rw-r--r--target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-tl-mr3020.c2
-rw-r--r--target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-tl-mr3020.c2
-rw-r--r--target/linux/ar71xx/generic/profiles/tp-link.mk2
5 files changed, 7 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 76f263b..f30ad05 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -97,7 +97,9 @@ get_status_led() {
tew-632brp)
status_led="tew-632brp:green:status"
;;
- tl-mr3020 | \
+ tl-mr3020)
+ status_led="tp-link:green:wps"
+ ;;
tl-mr3220 | \
tl-mr3420 | \
tl-wa901nd | \
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index 45be6bd..f65af4a 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -146,6 +146,7 @@ om2p)
tl-mr3020)
set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
+ set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
;;
tl-mr3220 | \
diff --git a/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-tl-mr3020.c b/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-tl-mr3020.c
index 21ec3e0..cccb4d4 100644
--- a/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-tl-mr3020.c
+++ b/target/linux/ar71xx/files-2.6.39/arch/mips/ar71xx/mach-tl-mr3020.c
@@ -118,5 +118,5 @@ static void __init tl_mr3020_setup(void)
ar9xxx_add_device_wmac(ee, mac);
}
-MIPS_MACHINE(AR71XX_MACH_TL_MR3020, "TL-MR3020", "TP-LINK TL-MR3020 v1",
+MIPS_MACHINE(AR71XX_MACH_TL_MR3020, "TL-MR3020", "TP-LINK TL-MR3020",
tl_mr3020_setup);
diff --git a/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-tl-mr3020.c b/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-tl-mr3020.c
index 35be0f7..9732d5c 100644
--- a/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-tl-mr3020.c
+++ b/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-tl-mr3020.c
@@ -117,5 +117,5 @@ static void __init tl_mr3020_setup(void)
ath79_register_wmac(ee, mac);
}
-MIPS_MACHINE(ATH79_MACH_TL_MR3020, "TL-MR3020", "TP-LINK TL-MR3020 v1",
+MIPS_MACHINE(ATH79_MACH_TL_MR3020, "TL-MR3020", "TP-LINK TL-MR3020",
tl_mr3020_setup);
diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk
index 8f1314a..e927696 100644
--- a/target/linux/ar71xx/generic/profiles/tp-link.mk
+++ b/target/linux/ar71xx/generic/profiles/tp-link.mk
@@ -7,7 +7,7 @@
define Profile/TLMR3020
NAME:=TP-LINK TL-MR3020
- PACKAGES:=kmod-usb-core kmod-usb2
+ PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev
endef
define Profile/TLMR3020/Description