summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/sources/openwrt/kernel/diag.c
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-09-19 05:12:19 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-09-19 05:12:19 +0000
commit6459546f1638572a3e0ffb148e243bf18ccde31b (patch)
treed82e5ab34cc8e728b02131f2266bcb351e5b924a /obsolete-buildroot/sources/openwrt/kernel/diag.c
parent144576660f3677e6bd25a45c196e164821f84288 (diff)
update to newer snapshots, avoid 404 errors durring build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@160 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/kernel/diag.c')
-rw-r--r--obsolete-buildroot/sources/openwrt/kernel/diag.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/obsolete-buildroot/sources/openwrt/kernel/diag.c b/obsolete-buildroot/sources/openwrt/kernel/diag.c
index 1fe2baf5d..d39ac7c69 100644
--- a/obsolete-buildroot/sources/openwrt/kernel/diag.c
+++ b/obsolete-buildroot/sources/openwrt/kernel/diag.c
@@ -167,16 +167,16 @@ static int __init diag_init()
}
} else if (!strcmp(buf,"bcm94710ap")) {
buf=nvram_get("boardnum")?:"";
- if (!strcmp(buf,"44")) {
- //dell truemobile
- set_dmz=v2_set_dmz;
- reset_gpio=(1<<0);
- reset_polarity=0;
- } else {
+ if (!strcmp(buf,"42")) {
// buffalo
set_dmz=v2_set_dmz;
reset_gpio=(1<<4);
reset_polarity=1;
+ } else if (!strcmp(buf,"44")) {
+ //dell truemobile
+ set_dmz=v2_set_dmz;
+ reset_gpio=(1<<0);
+ reset_polarity=0;
}
}
} else {