aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-08-17 13:43:07 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-08-17 13:43:07 +0000
commit8df0f450678089e292c16360012311ab96d1fd6d (patch)
tree38ed437ba857dc4781cd7ebff6c6b9e8070490cc
parentb2ee00b529c0e6f9e7dffd8f8a57a8f074d5312f (diff)
downloadupstream-8df0f450678089e292c16360012311ab96d1fd6d.tar.gz
upstream-8df0f450678089e292c16360012311ab96d1fd6d.tar.bz2
upstream-8df0f450678089e292c16360012311ab96d1fd6d.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37804 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/broadcom-diag/src/diag.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/package/kernel/broadcom-diag/src/diag.c b/package/kernel/broadcom-diag/src/diag.c
index fedcb01b72..1d4a4b1180 100644
--- a/package/kernel/broadcom-diag/src/diag.c
+++ b/package/kernel/broadcom-diag/src/diag.c
@@ -121,7 +121,6 @@ enum {
WZR_G300N,
WZR_RS_G54,
WZR_RS_G54HP,
- BUFFALO_UNKNOWN,
BUFFALO_UNKNOWN_4710,
/* Siemens */
@@ -796,15 +795,6 @@ static struct platform_t __initdata platforms[] = {
{ .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] = {
.name = "Buffalo (unknown, BCM4710)",
.buttons = {
@@ -1264,8 +1254,6 @@ static struct platform_t __init *platform_detect_legacy(void)
if (boardnum || !strcmp(boardnum, "00")) {/* probably buffalo */
if (startswith(boardtype, "bcm94710ap"))
return &platforms[BUFFALO_UNKNOWN_4710];
- else
- return &platforms[BUFFALO_UNKNOWN];
}
if (startswith(getvar("CFEver"), "MotoWRv2") ||