Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
FFS Gluon
Commits
ffb46c40
Commit
ffb46c40
authored
6 years ago
by
David Bauer
Committed by
Andreas Ziegler
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ar71xx: add Archer C7 v5 switch LEDs
parent
665cc49d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/openwrt/0008-ar71xx-fix-TP-Link-Archer-C7-v5-switch-LEDs.patch
+34
-0
34 additions, 0 deletions
...rt/0008-ar71xx-fix-TP-Link-Archer-C7-v5-switch-LEDs.patch
with
34 additions
and
0 deletions
patches/openwrt/0008-ar71xx-fix-TP-Link-Archer-C7-v5-switch-LEDs.patch
0 → 100644
+
34
−
0
View file @
ffb46c40
From: Rinki13 <rinki13@gmail.com>
Date: Thu, 27 Sep 2018 21:40:15 +0530
Subject: ar71xx: fix TP-Link Archer C7 v5 switch LEDs
Signed-off-by: Rinki13 <rinki13@gmail.com>
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds
index 858d6750082ecacefc00a8d6cfce0b264c8e06bd..b6aaf83fdb88a3aafd3d684a57a29a7f0e772f58 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/01_leds
+++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds
@@ -142,7 +142,8 @@
archer-c60-v2)
;;
esac
;;
-archer-c7-v4)
+archer-c7-v4|\
+archer-c7-v5)
ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan2g" "phy1tpt"
ucidef_set_led_wlan "wlan5g" "WLAN5G" "$board:green:wlan5g" "phy0tpt"
ucidef_set_led_switch "wan" "WAN" "$board:green:wan" "switch0" "0x02"
@@ -151,7 +152,12 @@
archer-c7-v4)
ucidef_set_led_switch "lan3" "LAN3" "$board:green:lan2" "switch0" "0x10"
ucidef_set_led_switch "lan4" "LAN4" "$board:green:lan1" "switch0" "0x20"
ucidef_set_led_usbdev "usb1" "USB1" "$board:green:usb1" "1-1"
- ucidef_set_led_usbdev "usb2" "USB2" "$board:green:usb2" "2-1"
+
+ case "$board" in
+ archer-c7-v4)
+ ucidef_set_led_usbdev "usb2" "USB2" "$board:green:usb2" "2-1"
+ ;;
+ esac
;;
arduino-yun)
ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment