projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4b6a0
)
fix detection of motorola wr850g, thanks to Vinicius Fonseca, (#4710)
author
Florian Fainelli
<florian@openwrt.org>
Sun, 7 Jun 2009 09:28:29 +0000
(09:28 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 7 Jun 2009 09:28:29 +0000
(09:28 +0000)
SVN-Revision: 16367
package/broadcom-diag/src/diag.c
patch
|
blob
|
history
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index 96894da0a8fb7b76ef0d9a7fa9b805fd026410fa..c8c0e34abebed486fc8bd6c0ccb897f0ee06557e 100644
(file)
--- a/
package/broadcom-diag/src/diag.c
+++ b/
package/broadcom-diag/src/diag.c
@@
-781,6
+781,8
@@
static struct platform_t __init *platform_detect(void)
if ((buf = nvram_get("ModelId"))) {
if (!strcmp(buf, "WR850GP"))
return &platforms[WR850GP];
+ if (!strcmp(buf, "WR850G"))
+ return &platforms[WR850GV2V3];
if (!strcmp(buf, "WX-5565") && !strcmp(getvar("boardtype"),"bcm94710ap"))
return &platforms[TM2300]; /* Dell TrueMobile 2300 */
if (startswith(buf,"WE800G")) /* WE800G* */