projects
/
openwrt
/
staging
/
jogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecbdbb6
)
reset button fix for dell truemobile
author
Mike Baker
<mbm@openwrt.org>
Thu, 16 Sep 2004 09:48:08 +0000
(09:48 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Thu, 16 Sep 2004 09:48:08 +0000
(09:48 +0000)
SVN-Revision: 157
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 7b4162988e6452570db7f9e7d7d7369bbdfa6f87..1fe2baf5d24f79150436ba6c88002e5a15821db8 100644
(file)
--- a/
obsolete-buildroot/sources/openwrt/kernel/diag.c
+++ b/
obsolete-buildroot/sources/openwrt/kernel/diag.c
@@
-166,11
+166,18
@@
static int __init diag_init()
reset_polarity=1;
}
} else if (!strcmp(buf,"bcm94710ap")) {
- // buffalo
- set_diag=ignore;
- set_dmz=v2_set_dmz;
- reset_gpio=(1<<4);
- reset_polarity=1;
+ buf=nvram_get("boardnum")?:"";
+ if (!strcmp(buf,"44")) {
+ //dell truemobile
+ set_dmz=v2_set_dmz;
+ reset_gpio=(1<<0);
+ reset_polarity=0;
+ } else {
+ // buffalo
+ set_dmz=v2_set_dmz;
+ reset_gpio=(1<<4);
+ reset_polarity=1;
+ }
}
} else {
board_type=2;