Skip to content
Snippets Groups Projects
Select Git revision
  • 84d117ff73ac3a2099f851d0c4748cbfd1f41626
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

0016-procd-update-to-latest-git-HEAD.patch

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    0012-ar71xx-remove-numeric-suffix-of-the-TL-WDR3500-USB-LED.patch 1.66 KiB
    From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
    Date: Sun, 24 Mar 2013 19:23:45 +0000
    Subject: ar71xx: remove numeric suffix of the TL-WDR3500 USB LED
    
    Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
    
    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36118 3c298f89-4303-0410-b956-a3cf2f4a3e73
    
    diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3500.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3500.c
    index 05fe83d..785b21f 100644
    --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3500.c
    +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3500.c
    @@ -29,7 +29,7 @@
     #include "dev-wmac.h"
     #include "machtypes.h"
     
    -#define WDR3500_GPIO_LED_USB1		11
    +#define WDR3500_GPIO_LED_USB		11
     #define WDR3500_GPIO_LED_WLAN2G		13
     #define WDR3500_GPIO_LED_SYSTEM		14
     #define WDR3500_GPIO_LED_QSS		15
    @@ -37,7 +37,7 @@
     #define WDR3500_GPIO_BTN_WPS		16
     #define WDR3500_GPIO_BTN_RFKILL		17
     
    -#define WDR3500_GPIO_USB1_POWER		22
    +#define WDR3500_GPIO_USB_POWER		22
     
     #define WDR3500_KEYS_POLL_INTERVAL	20	/* msecs */
     #define WDR3500_KEYS_DEBOUNCE_INTERVAL	(3 * WDR3500_KEYS_POLL_INTERVAL)
    @@ -68,8 +68,8 @@ static struct gpio_led wdr3500_leds_gpio[] __initdata = {
     		.active_low	= 1,
     	},
     	{
    -		.name		= "tp-link:green:usb1",
    -		.gpio		= WDR3500_GPIO_LED_USB1,
    +		.name		= "tp-link:green:usb",
    +		.gpio		= WDR3500_GPIO_LED_USB,
     		.active_low	= 1,
     	},
     	{
    @@ -142,9 +142,9 @@ static void __init wdr3500_setup(void)
     
     	ath79_register_eth(0);
     
    -	gpio_request_one(WDR3500_GPIO_USB1_POWER,
    +	gpio_request_one(WDR3500_GPIO_USB_POWER,
     			 GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED,
    -			 "USB1 power");
    +			 "USB power");
     	ath79_register_usb();
     }