WRT54G,
WRTSL54GS,
WRT54G3G,
+ WRT350N,
/* ASUS */
WLHDD,
/* Belkin */
BELKIN_UNKNOWN,
+ /* Netgear */
+ WGT634U,
+
/* Trendware */
TEW411BRPP,
};
{ .name = "3g_blink", .gpio = 1 << 5, .polarity = NORMAL },
},
},
+ [WRT350N] = {
+ .name = "Linksys WRT350N",
+ .buttons = {
+ { .name = "reset", .gpio = 1 << 6 },
+ { .name = "ses", .gpio = 1 << 8 },
+ },
+ .leds = {
+ { .name = "power", .gpio = 1 << 1, .polarity = NORMAL },
+ { .name = "ses", .gpio = 1 << 3, .polarity = REVERSE },
+ },
+ },
/* Asus */
[WLHDD] = {
.name = "ASUS WL-HDD",
{ .name = "connected", .gpio = 1 << 0, .polarity = NORMAL },
},
},
+ /* Netgear */
+ [WGT634U] = {
+ .name = "Netgear WGT634U",
+ .buttons = {
+ { .name = "reset", .gpio = 1 << 2 },
+ },
+ .leds = {
+ { .name = "power", .gpio = 1 << 3, .polarity = REVERSE },
+ },
+ },
/* Trendware */
[TEW411BRPP] = {
.name = "Trendware TEW411BRP+",
if (strncmp(getvar("pmon_ver"), "CFE", 3) == 0) {
/* CFE based - newer hardware */
if (!strcmp(boardnum, "42")) { /* Linksys */
+ if (!strcmp(boardtype, "0x478") && !strcmp(getvar("cardbus"), 1))
+ return &platforms[WRT350N];
+
if (!strcmp(boardtype, "0x0101") && !strcmp(getvar("boot_ver"), "v3.6"))
return &platforms[WRT54G3G];
return &platforms[BUFFALO_UNKNOWN];
}
-
if (!strcmp(getvar("CFEver"), "MotoWRv203") ||
!strcmp(getvar("MOTO_BOARD_TYPE"), "WR_FEM1")) {