Ignore:
Timestamp:
2011-12-23T15:27:10+01:00 (5 years ago)
Author:
juhosg
Message:

ramips: add support for the Senao/EnGenius ESR-9753 board

Signed-off-by: Artur Wronowski <arteqw@…>

File:
1 edited

Legend:

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

    r27990 r29603  
    2020#define RT305X_ESW_REG_FCT2             0xcc 
    2121#define RT305X_ESW_REG_SGC2             0xe4 
     22#define RT305X_ESW_REG_P0LED    0xa4 
     23#define RT305X_ESW_REG_P1LED    0xa8 
     24#define RT305X_ESW_REG_P2LED    0xac 
     25#define RT305X_ESW_REG_P3LED    0xb0 
     26#define RT305X_ESW_REG_P4LED    0xb4 
    2227 
    2328#define RT305X_ESW_PCR0_WT_NWAY_DATA_S  16 
     
    227232        rt305x_esw_wr(esw, 0x3f502b28, RT305X_ESW_REG_FPA2); 
    228233        rt305x_esw_wr(esw, 0x00000000, RT305X_ESW_REG_FPA); 
     234 
     235        /* Force Link/Activity on ports */ 
     236        rt305x_esw_wr(esw, 0x00000005, RT305X_ESW_REG_P0LED); 
     237        rt305x_esw_wr(esw, 0x00000005, RT305X_ESW_REG_P1LED); 
     238        rt305x_esw_wr(esw, 0x00000005, RT305X_ESW_REG_P2LED); 
     239        rt305x_esw_wr(esw, 0x00000005, RT305X_ESW_REG_P3LED); 
     240        rt305x_esw_wr(esw, 0x00000005, RT305X_ESW_REG_P4LED); 
    229241 
    230242        rt305x_mii_write(esw, 0, 31, 0x8000); 
Note: See TracChangeset for help on using the changeset viewer.