Changeset 12612


Ignore:
Timestamp:
08/05/09 17:49:31 (4 years ago)
Author:
BrainSlayer
Message:

np25g related

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/sysinit/switchlib/admtek.c

    r12224 r12612  
    167167                                        * PORT: 5 4 3 x 2 x 1 x 0  
    168168                                        */ 
    169 #ifdef HAVE_WGT624 
     169#if defined(HAVE_WGT624) || defined(HAVE_NP25G) 
    170170#define ADM_SW_LAN_MAP_TAB      0x0155  /* 1 1 1 0 1 0 1 0 0 */ 
    171171#define ADM_SW_WAN_MAP_TAB      0x0180  /* 1 0 0 0 0 0 0 0 1 */ 
     
    214214 * The phy switch settings in the mvPhyInfo table are set accordingly. 
    215215 */ 
    216 #ifdef HAVE_WGT624 
     216#if defined(HAVE_WGT624)  || defined(HAVE_NP25G) 
    217217#define ADM_WAN_PORT          4 
    218218#define ADM_IS_LAN_PORT(port) ((port) >= 0 && (port) < 4) 
     
    248248 * Per-PHY information, indexed by PHY unit number. 
    249249 */ 
    250 #ifdef HAVE_WGT624 
     250#if defined(HAVE_WGT624) || defined(HAVE_NP25G) 
    251251admPhyInfo_t admPhyInfo[] = { 
    252252        {TRUE,                  /* phy port 0 -- LAN port */ 
Note: See TracChangeset for help on using the changeset viewer.