projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09ef491
)
improve accuracy of the diag detection of the wrt54g3g
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 13 Nov 2006 18:22:05 +0000
(18:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 13 Nov 2006 18:22:05 +0000
(18:22 +0000)
SVN-Revision: 5521
openwrt/target/linux/package/diag/src/diag.c
patch
|
blob
|
history
diff --git
a/openwrt/target/linux/package/diag/src/diag.c
b/openwrt/target/linux/package/diag/src/diag.c
index 6f232f333ea98e44c2ba3c0243f1ca7380a08f4c..f1812b2b55493104cd8bf9ccbaa632ddaad11ff4 100644
(file)
--- a/
openwrt/target/linux/package/diag/src/diag.c
+++ b/
openwrt/target/linux/package/diag/src/diag.c
@@
-400,7
+400,7
@@
static struct platform_t __init *platform_detect(void)
if (strncmp(getvar("pmon_ver"), "CFE", 3) == 0) {
/* CFE based - newer hardware */
if (!strcmp(boardnum, "42")) { /* Linksys */
- if (!strcmp(boardtype, "0x0101"))
+ if (!strcmp(boardtype, "0x0101")
&& !strcmp(getvar("boot_ver"), "v3.6")
)
return &platforms[WRT54G3G];
if (!strcmp(getvar("et1phyaddr"),"5") && !strcmp(getvar("et1mdcport"), "1"))