Changeset 35359


Ignore:
Timestamp:
2013-01-28T19:06:31+01:00 (5 years ago)
Author:
blogic
Message:

[ramips] fix for non-blinking LAN LEDs

https://dev.archive.openwrt.org/ticket/12830.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_esw.c

    r33322 r35359  
    499499                       port_map << RT305X_ESW_SGC2_LAN_PMAP_S); 
    500500 
     501        /* make the switch leds blink */ 
     502        for (i = 0; i < RT305X_ESW_NUM_LEDS; i++) 
     503                esw->ports[i].led = 0x05; 
     504 
    501505        /* Apply the empty config. */ 
    502506        rt305x_esw_apply_config(&esw->swdev); 
Note: See TracChangeset for help on using the changeset viewer.