summaryrefslogtreecommitdiff
path: root/obsolete-buildroot/sources
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/sources')
-rw-r--r--obsolete-buildroot/sources/openwrt/kernel/diag.c12
-rw-r--r--obsolete-buildroot/sources/uClibc-sigaction.patch11
2 files changed, 6 insertions, 17 deletions
diff --git a/obsolete-buildroot/sources/openwrt/kernel/diag.c b/obsolete-buildroot/sources/openwrt/kernel/diag.c
index 1fe2baf5d2..d39ac7c698 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 {
diff --git a/obsolete-buildroot/sources/uClibc-sigaction.patch b/obsolete-buildroot/sources/uClibc-sigaction.patch
deleted file mode 100644
index 6440b59256..0000000000
--- a/obsolete-buildroot/sources/uClibc-sigaction.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- uClibc/libc/sysdeps/linux/mips/Makefile 17 Jul 2004 00:39:14 -0000 1.41
-+++ uClibc/libc/sysdeps/linux/mips/Makefile 9 Aug 2004 03:33:14 -0000
-@@ -28,7 +28,7 @@
- SOBJS=$(patsubst %.S,%.o, $(SSRC))
-
- CSRC=__longjmp.c brk.c setjmp_aux.c mmap.c __syscall_error.c \
-- cacheflush.c pread_write.c sysmips.c _test_and_set.c sigaction.c
-+ cacheflush.c pread_write.c sysmips.c _test_and_set.c
- COBJS=$(patsubst %.c,%.o, $(CSRC))
-
- OBJS=$(SOBJS) $(MOBJ) $(COBJS)