Changeset 47873


Ignore:
Timestamp:
2015-12-11T22:12:04+01:00 (2 years ago)
Author:
nbd
Message:

ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use MAC1 for wlan

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

File:
1 edited

Legend:

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

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