Changeset 24569


Ignore:
Timestamp:
2010-12-14T19:01:04+01:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards

File:
1 edited

Legend:

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

    r24439 r24569  
    145145        ap91_pci_init(ee, mac); 
    146146} 
    147 MIPS_MACHINE(AR71XX_MACH_TL_MR3420, "TL-MR3420", "TP-LINK TL-MR3420", 
    148              tl_mr3x20_setup); 
     147 
     148static void __init tl_mr3220_setup(void) 
     149{ 
     150        tl_mr3x20_setup(); 
     151        ap91_pci_setup_wmac_led_pin(1); 
     152} 
    149153 
    150154MIPS_MACHINE(AR71XX_MACH_TL_MR3220, "TL-MR3220", "TP-LINK TL-MR3220", 
    151              tl_mr3x20_setup); 
     155             tl_mr3220_setup); 
     156 
     157static void __init tl_mr3420_setup(void) 
     158{ 
     159        tl_mr3x20_setup(); 
     160        ap91_pci_setup_wmac_led_pin(0); 
     161} 
     162 
     163MIPS_MACHINE(AR71XX_MACH_TL_MR3420, "TL-MR3420", "TP-LINK TL-MR3420", 
     164             tl_mr3420_setup); 
Note: See TracChangeset for help on using the changeset viewer.