Changeset 47871


Ignore:
Timestamp:
2015-12-11T20:21:59+01:00 (2 years ago)
Author:
nbd
Message:

ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c

    r47236 r47871  
    4343#define WNR2200_KEYS_DEBOUNCE_INTERVAL  (3 * WNR2200_KEYS_POLL_INTERVAL) 
    4444 
    45 #define WNR2200_MAC0_OFFSET             0 
    46 #define WNR2200_MAC1_OFFSET             6 
     45#define WNR2200_MAC0_OFFSET             6 
     46#define WNR2200_MAC1_OFFSET             0 
    4747#define WNR2200_PCIE_CALDATA_OFFSET     0x1000 
    4848 
     
    122122 
    123123        ath79_register_m25p80(NULL); 
    124         ap91_pci_init(art + WNR2200_PCIE_CALDATA_OFFSET, NULL); 
     124        ap91_pci_init(art + WNR2200_PCIE_CALDATA_OFFSET, 
     125                      art + WNR2200_MAC0_OFFSET); 
    125126 
    126127        ath79_register_leds_gpio(-1, ARRAY_SIZE(wnr2200_leds_gpio), 
Note: See TracChangeset for help on using the changeset viewer.