Changeset 32993


Ignore:
Timestamp:
2012-08-04T22:14:52+02:00 (6 years ago)
Author:
blogic
Message:

[lantiq] W502V/ARV4525 wireless mac bugfix

The ARV4525 board init is passing the wrong offset to
arv_register_ath5k() resulting in a bogus mac.

Signed-off-by: Tobias Diedrich <ranma+openwrt@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/lantiq/files/arch/mips/lantiq/xway/mach-arv.c

    r31912 r32993  
    523523#define ARV4518PW_SWITCH_RESET          13 
    524524#define ARV4518PW_ATH_ADDR              0x3f0400 
    525 #define ARV4518PW_MADWIFI_ADDR          0xb03f0400 
    526525#define ARV4518PW_MAC_ADDR              0x3f0016 
    527526 
     
    619618#define ARV452CPW_SWITCH_RESET          110 
    620619#define ARV452CPW_ATH_ADDR              0x3f0400 
    621 #define ARV452CPW_MADWIFI_ADDR          0xb03f0400 
    622620#define ARV452CPW_MAC_ADDR              0x3f0016 
    623621 
     
    653651{ 
    654652#define ARV4525PW_ATH_ADDR              0x3f0400 
    655 #define ARV4525PW_MADWIFI_ADDR          0xb03f0400 
    656653#define ARV4525PW_MAC_ADDR              0x3f0016 
    657654 
     
    663660        ltq_pci_data.clock = PCI_CLOCK_INT; 
    664661        ltq_register_pci(&ltq_pci_data); 
    665         arv_register_ath5k(ARV4525PW_ATH_ADDR, ARV4525PW_MADWIFI_ADDR); 
     662        arv_register_ath5k(ARV4525PW_ATH_ADDR, ARV4525PW_MAC_ADDR); 
    666663        ltq_register_ath5k(arv_ath5k_eeprom_data, arv_athxk_eeprom_mac); 
    667664        ltq_eth_data.mii_mode = PHY_INTERFACE_MODE_MII; 
Note: See TracChangeset for help on using the changeset viewer.