Changeset 12644


Ignore:
Timestamp:
08/13/09 20:22:56 (4 years ago)
Author:
BrainSlayer
Message:

actiontec mi424wr support

Location:
src/router/services
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/networking/network.c

    r12608 r12644  
    12061206                        PORTSETUPWAN("ixp0"); 
    12071207                } else if (getRouterBrand() == ROUTER_BOARD_GATEWORX_GW2345) { 
     1208#ifdef HAVE_MI424WR 
     1209                        nvram_set("lan_ifname", "br0"); 
     1210                        if (nvram_match("intel_eth", "1")) 
     1211                                nvram_set("lan_ifnames", 
     1212                                          "eth0 eth1 ixp0 ixp1 ath0 ath1 ath2 ath3 ofdm"); 
     1213                        else 
     1214                                nvram_set("lan_ifnames", 
     1215                                          "ixp0 ixp1 ath0 ath1 ath2 ath3 ofdm"); 
     1216                        PORTSETUPWAN("ixp0"); 
     1217#else 
    12081218                        nvram_set("lan_ifname", "br0"); 
    12091219                        if (nvram_match("intel_eth", "1")) 
     
    12141224                                          "ixp0 ixp1 ath0 ath1 ath2 ath3 ofdm"); 
    12151225                        PORTSETUPWAN("ixp1"); 
     1226#endif 
    12161227                } else { 
    12171228#ifdef HAVE_XIOCOM 
  • src/router/services/sysinit/sysinit.c

    r12548 r12644  
    278278        }; 
    279279#elif HAVE_GATEWORX 
    280 #ifdef HAVE_XIOCOM 
     280#if defined(HAVE_XIOCOM) || defined(HAVE_MI242WR) 
    281281        struct nvram_tuple generic[] = { 
    282282                {"lan_ifname", "br0", 0}, 
Note: See TracChangeset for help on using the changeset viewer.