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:
73101ef
)
updated in prepration for wrt54g v2.2/gs v1.1 support
author
Mike Baker
<mbm@openwrt.org>
Mon, 24 Jan 2005 05:28:01 +0000
(
05:28
+0000)
committer
Mike Baker
<mbm@openwrt.org>
Mon, 24 Jan 2005 05:28:01 +0000
(
05:28
+0000)
SVN-Revision: 206
obsolete-buildroot/sources/openwrt/kernel/diag.c
patch
|
blob
|
history
diff --git
a/obsolete-buildroot/sources/openwrt/kernel/diag.c
b/obsolete-buildroot/sources/openwrt/kernel/diag.c
index e7ed233a18aca7238c375b3a0a2e7f5f67c94c34..726e1976e006b6fc3f16266dd6171969e3d69229 100644
(file)
--- a/
obsolete-buildroot/sources/openwrt/kernel/diag.c
+++ b/
obsolete-buildroot/sources/openwrt/kernel/diag.c
@@
-148,7
+148,7
@@
static int __init diag_init()
set_diag=ignore;
set_dmz=ignore;
- if (
board_type &
0x400) {
+ if (
(board_type & 0xf00) ==
0x400) {
board_type=1;
buf=nvram_get("boardtype")?:"";
if (!strcmp(buf,"bcm94710dev")) {