Changeset 17997


Ignore:
Timestamp:
12/10/11 15:37:03 (18 months ago)
Author:
BrainSlayer
Message:

correct wmac data for some tplink devices

Location:
src/linux/pb42/linux-2.6.34.6
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • src/linux/pb42/linux-2.6.34.6/.config_ap83

    r17742 r17997  
    5050CONFIG_MACH_AR7100=y 
    5151CONFIG_AR9100=y 
     52# CONFIG_WR941 is not set 
    5253# CONFIG_AR7100_LOW is not set 
    5354# CONFIG_AR7100_EMULATION is not set 
  • src/linux/pb42/linux-2.6.34.6/.config_tew632brp

    r17740 r17997  
    5050CONFIG_MACH_AR7100=y 
    5151CONFIG_AR9100=y 
     52# CONFIG_WR941 is not set 
    5253CONFIG_AR7100_LOW=y 
    5354# CONFIG_AR7100_EMULATION is not set 
  • src/linux/pb42/linux-2.6.34.6/.config_tg2521

    r17740 r17997  
    5050CONFIG_MACH_AR7100=y 
    5151CONFIG_AR9100=y 
     52# CONFIG_WR941 is not set 
    5253CONFIG_AR7100_LOW=y 
    5354# CONFIG_AR7100_EMULATION is not set 
  • src/linux/pb42/linux-2.6.34.6/.config_wr1043

    r17742 r17997  
    5050CONFIG_MACH_AR7100=y 
    5151CONFIG_AR9100=y 
     52CONFIG_WR941=y 
    5253# CONFIG_AR7100_LOW is not set 
    5354# CONFIG_AR7100_EMULATION is not set 
  • src/linux/pb42/linux-2.6.34.6/.config_wr941

    r17742 r17997  
    22# Automatically generated make config: don't edit 
    33# Linux kernel version: 2.6.34.10 
    4 # Wed Jul 20 23:52:33 2011 
     4# Sat Dec 10 15:33:56 2011 
    55# 
    66CONFIG_MIPS=y 
     
    5050CONFIG_MACH_AR7100=y 
    5151CONFIG_AR9100=y 
     52CONFIG_WR941=y 
    5253# CONFIG_AR7100_LOW is not set 
    5354# CONFIG_AR7100_EMULATION is not set 
  • src/linux/pb42/linux-2.6.34.6/.config_wrt160nl

    r17742 r17997  
    5050CONFIG_MACH_AR7100=y 
    5151CONFIG_AR9100=y 
     52# CONFIG_WR941 is not set 
    5253CONFIG_AR7100_LOW=y 
    5354# CONFIG_AR7100_EMULATION is not set 
  • src/linux/pb42/linux-2.6.34.6/arch/mips/Kconfig

    r17897 r17997  
    704704    depends on MACH_AR7100 
    705705 
     706config WR941 
     707    bool "wr941 wireless mac?" 
     708    depends on AR9100 
     709    default n 
     710 
    706711config  AR7100_LOW  
    707712    bool "Support for loading AR7100 in low memory" 
     
    743748    default n 
    744749 
     750 
    745751config AR7240_EMULATION 
    746752    bool "build system for AR7240 emulation board?" 
  • src/linux/pb42/linux-2.6.34.6/arch/mips/ar7100/platform.c

    r16082 r17997  
    206206 
    207207 
     208static char wmac_mac[6]; 
    208209 
    209210 
     
    213214        memcpy(&ath9k_pdata.eeprom_data, (void *) KSEG1ADDR(0x1fff1000), sizeof(ath9k_pdata.eeprom_data)); 
    214215#endif 
     216#ifdef CONFIG_WR941 
     217        u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); 
     218        memcpy(wmac_mac, mac, sizeof(wmac_mac)); 
     219        ath9k_pdata.macaddr = wmac_mac; 
     220#endif 
     221 
    215222        /* need to set clock appropriately */ 
    216223        ar7100_uart_data[0].uartclk = ar71xx_ahb_freq;  
Note: See TracChangeset for help on using the changeset viewer.