Modify

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#8630 closed enhancement (fixed)

PATCH to define WLAN LED pin on TP-Link TL-WR741ND

Reported by: magyarsz Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: Trunk
Keywords: Cc:

Description

Please apply these patches to the trunk and to the backfire branch and the WLAN LED will be working on TL-WR741ND.

--- backfire/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c.original	2011-01-10 16:12:36.000000000 +0100
+++ backfire/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c	2011-01-10 16:12:59.000000000 +0100
@@ -124,6 +124,8 @@
 	ar71xx_add_device_eth(1);
 	ar71xx_add_device_eth(0);
 
+	ap91_pci_setup_wmac_led_pin(1);
+
 	ap91_pci_init(ee, mac);
 }
 MIPS_MACHINE(AR71XX_MACH_TL_WR741ND, "TL-WR741ND", "TP-LINK TL-WR741ND",

--- trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c.original	2011-01-10 16:16:54.000000000 +0100
+++ trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr741nd.c	2011-01-10 16:17:51.000000000 +0100
@@ -125,6 +125,8 @@
 	ar71xx_add_device_eth(1);
 	ar71xx_add_device_eth(0);
 
+	ap91_pci_setup_wmac_led_pin(1);
+
 	ap91_pci_init(ee, mac);
 }
 MIPS_MACHINE(AR71XX_MACH_TL_WR741ND, "TL-WR741ND", "TP-LINK TL-WR741ND",

Attachments (1)

wr741nd_wlan_led.patch (1.9 KB) - added by magyarsz 7 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by magyarsz

Ooops... Also needed to backport the header from trunk/target/linux/ar71xx/files/arch/mips/ar71xx/dev-ap91-pci.h to backfire otherwise it has compilation error.

Changed 7 years ago by magyarsz

comment:2 Changed 7 years ago by magyarsz

Okay, the attached patch is surely working (tested) on the backfire. For trunk, needed only the one row from my first message.
Sorry for the inconvenience...

comment:3 Changed 7 years ago by juhosg

  • Resolution set to fixed
  • Status changed from new to closed

Thanks! Fixed in r24963 (trunk) and in r24964, r24965 (Backfire).

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.