summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
49d3415)
enum {
/* Linksys */
WAP54GV1,
enum {
/* Linksys */
WAP54GV1,
WAP54GV3,
WRT54GV1,
WRT54G,
WAP54GV3,
WRT54GV1,
WRT54G,
{ .name = "wlan", .gpio = 1 << 4 },
},
},
{ .name = "wlan", .gpio = 1 << 4 },
},
},
+ [WAP54GV2] = {
+ .name = "Linksys WAP54G V2",
+ .buttons = {
+ { .name = "reset", .gpio = 1 << 0 },
+ },
+ .leds = {
+ { .name = "wlan", .gpio = 1 << 5, .polarity = REVERSE },
+ /* GPIO 6 is b44 (eth0, LAN) PHY power */
+ },
+ },
[WAP54GV3] = {
.name = "Linksys WAP54G V3",
.buttons = {
[WAP54GV3] = {
.name = "Linksys WAP54G V3",
.buttons = {
/* default to WRT54G */
return &platforms[WRT54G];
}
/* default to WRT54G */
return &platforms[WRT54G];
}
+ if (!strcmp(boardnum, "1024") && !strcmp(boardtype, "0x0446"))
+ return &platforms[WAP54GV2];
if (!strcmp(boardnum, "44") || !strcmp(boardnum, "44\r")) {
if (!strcmp(boardtype,"0x0101") || !strcmp(boardtype, "0x0101\r"))
if (!strcmp(boardnum, "44") || !strcmp(boardnum, "44\r")) {
if (!strcmp(boardtype,"0x0101") || !strcmp(boardtype, "0x0101\r"))