Changeset 7799


Ignore:
Timestamp:
Sep 1, 2007, 2:44:00 PM (10 years ago)
Author:
BrainSlayer
Message:

some fixes for WZRNH144

Location:
src/router
Files:
3 edited

Legend:

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

    r7747 r7799  
    23622362               "nobsdcomp\n"
    23632363               "nodeflate\n"
     2364               "debug\n"
    23642365//             "maxfail 0\n"
    23652366//               "nocrtscts\n"
  • src/router/services/sysinit/sysinit.c

    r7737 r7799  
    6464#include <wlutils.h>
    6565#include <cy_conf.h>
     66#include <cymac.h>
    6667//#include <ledcontrol.h>
    6768
     
    428429  char *et0mac = nvram_safe_get ("et0macaddr");
    429430  char *et1mac = nvram_safe_get ("et1macaddr");
    430 
     431  unsigned char mac[20];
     432if (nvram_get("il0macaddr")==NULL)
     433    {
     434      strcpy (mac, et0mac);
     435      MAC_ADD (mac);
     436      nvram_set("il0macaddr",mac);   
     437    }
    431438
    432439#ifdef HAVE_RB500
  • src/router/shared/utils.c

    r7737 r7799  
    10941094      diag_gpio = 0x17;
    10951095      bridge_gpio = 0x11;
     1096      break;
     1097    case ROUTER_BUFFALO_WZRG144NH:
     1098      diag_gpio = 0x13;
     1099      bridge_gpio = 0x11;
     1100      ses_gpio = 0x12;
    10961101      break;
    10971102#ifndef HAVE_BUFFALO
Note: See TracChangeset for help on using the changeset viewer.