Ticket #15848: TL-WR741ND-USB_r40695.patch

File TL-WR741ND-USB_r40695.patch, 1.1 KB (added by mexus@…, 4 years ago)

Enable USB support for TL-WR741ND v1 and v2 by default

  • target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd.c

     
    1515#include "dev-ap9x-pci.h" 
    1616#include "dev-eth.h" 
    1717#include "dev-gpio-buttons.h" 
     18#include "dev-usb.h" 
    1819#include "dev-leds-gpio.h" 
    1920#include "dev-m25p80.h" 
    2021#include "machtypes.h" 
     
    122123 
    123124        /* WAN port */ 
    124125        ath79_register_eth(0); 
     126         
     127        /* USB port */ 
     128        ath79_register_usb(); 
    125129 
    126130        ap9x_pci_setup_wmac_led_pin(0, 1); 
    127131        ap91_pci_init(ee, mac); 
  • 720-MIPS-ath79-TL-WR741ndV1V2-USB.patch

    	
    old new  
     1--- a/arch/mips/ath79/Kconfig 
     2+++ b/arch/mips/ath79/Kconfig 
     3@@ -686,6 +686,7 @@ 
     4        select ATH79_DEV_GPIO_BUTTONS 
     5        select ATH79_DEV_LEDS_GPIO 
     6        select ATH79_DEV_M25P80 
     7+       select ATH79_DEV_USB 
     8  
     9 config ATH79_MACH_TL_WR741ND_V4 
     10        bool "TP-LINK TL-WR741ND v4/TL-MR3220 v2 support" 
     11