broadcom-diag: remove BUFFALO_UNKNOWN
This was itriggered by to many non buffalo devices This closes #14043. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37804
This commit is contained in:
parent
af161b6576
commit
2fc0c28345
1 changed files with 0 additions and 12 deletions
|
@ -121,7 +121,6 @@ enum {
|
||||||
WZR_G300N,
|
WZR_G300N,
|
||||||
WZR_RS_G54,
|
WZR_RS_G54,
|
||||||
WZR_RS_G54HP,
|
WZR_RS_G54HP,
|
||||||
BUFFALO_UNKNOWN,
|
|
||||||
BUFFALO_UNKNOWN_4710,
|
BUFFALO_UNKNOWN_4710,
|
||||||
|
|
||||||
/* Siemens */
|
/* Siemens */
|
||||||
|
@ -796,15 +795,6 @@ static struct platform_t __initdata platforms[] = {
|
||||||
{ .name = "vpn", .gpio = 1 << 1, .polarity = REVERSE },
|
{ .name = "vpn", .gpio = 1 << 1, .polarity = REVERSE },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
[BUFFALO_UNKNOWN] = {
|
|
||||||
.name = "Buffalo (unknown)",
|
|
||||||
.buttons = {
|
|
||||||
{ .name = "reset", .gpio = 1 << 7 },
|
|
||||||
},
|
|
||||||
.leds = {
|
|
||||||
{ .name = "diag", .gpio = 1 << 1, .polarity = REVERSE },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
[BUFFALO_UNKNOWN_4710] = {
|
[BUFFALO_UNKNOWN_4710] = {
|
||||||
.name = "Buffalo (unknown, BCM4710)",
|
.name = "Buffalo (unknown, BCM4710)",
|
||||||
.buttons = {
|
.buttons = {
|
||||||
|
@ -1264,8 +1254,6 @@ static struct platform_t __init *platform_detect_legacy(void)
|
||||||
if (boardnum || !strcmp(boardnum, "00")) {/* probably buffalo */
|
if (boardnum || !strcmp(boardnum, "00")) {/* probably buffalo */
|
||||||
if (startswith(boardtype, "bcm94710ap"))
|
if (startswith(boardtype, "bcm94710ap"))
|
||||||
return &platforms[BUFFALO_UNKNOWN_4710];
|
return &platforms[BUFFALO_UNKNOWN_4710];
|
||||||
else
|
|
||||||
return &platforms[BUFFALO_UNKNOWN];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (startswith(getvar("CFEver"), "MotoWRv2") ||
|
if (startswith(getvar("CFEver"), "MotoWRv2") ||
|
||||||
|
|
Loading…
Reference in a new issue