Changeset 15291


Ignore:
Timestamp:
2009-04-20T12:29:43+02:00 (9 years ago)
Author:
florian
Message:

merge r15290 to 8.09

Location:
branches/8.09/package/switch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/8.09/package/switch/Makefile

    r10138 r15291  
    1111 
    1212PKG_NAME:=kmod-switch 
    13 PKG_RELEASE:=1 
     13PKG_RELEASE:=2 
    1414 
    1515include $(INCLUDE_DIR)/package.mk 
  • branches/8.09/package/switch/src/switch-robo.c

    r11469 r15291  
    6868#endif 
    6969 
     70 
     71extern char *nvram_get(const char *name); 
     72 
    7073/* Data structure for a Roboswitch device. */ 
    7174struct robo_switch { 
     
    271274        } 
    272275 
    273         /* WAN port LED */ 
    274         robo_write16(ROBO_CTRL_PAGE, 0x16, 0x1F); 
     276        /* WAN port LED, except for Netgear WGT634U */ 
     277        if (strcmp(nvram_get("nvram_type"), "cfe")) 
     278                robo_write16(ROBO_CTRL_PAGE, 0x16, 0x1F); 
    275279 
    276280        return 0; 
Note: See TracChangeset for help on using the changeset viewer.