[OpenWrt-Devel] Resend: [PATCH] CONFIG_X86_GENERIC only belongs in generic configs

2010-11-16 Thread Philip Prindeville
Having CONFIG_X86_GENERIC in target/linux/x86/config-default obscures CONFIG_MGEODE_LX, etc. and caused wrong cache-line size. Signed-off-by: Philip Prindeville --- Index: target/linux/x86/net5501/config-default === --- target/li

[OpenWrt-Devel] Resend: [PATCH v2] CONFIG_X86_GENERIC only belongs in generic configs

2010-11-16 Thread Philip Prindeville
Having CONFIG_X86_GENERIC in target/linux/x86/config-default obscures CONFIG_MGEODE_LX, etc. and causes wrong cache-line size. Turn it off for specific processors (i.e. Geode). Signed-off-by: Philip Prindeville --- Index: target/linux/x86/net5501/config-default =

[OpenWrt-Devel] [PATCH] fsck.sh should only call pi_include() if dir /lib/functions/fsck exists.

2010-11-16 Thread Mark Vels
/etc/functions.sh:pi_include() checks if the argument exists and prints a warning if not. To prevent this warning if package block-mount is installed but not package e2fsprogs, the script should check if this directory exists before calling pi_include() A wrong patch to suppress this warning was p

Re: [OpenWrt-Devel] [PATCH] Fix typo in name of to be included file

2010-11-16 Thread Mark Vels
On 16/11/10 23:40, Jo-Philipp Wich wrote: > Hi. > >> Can we add something like >> [ -d /lib/functions/fsck ] && pi_include /lib/functions/fsck > > A more logical place would be the pi_include() procedure. > It should be changed to handle not existing firs garcefully. > > ~ Jow pi_include()

Re: [OpenWrt-Devel] [PATCH] Fix typo in name of to be included file

2010-11-16 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. > Can we add something like > [ -d /lib/functions/fsck ] && pi_include /lib/functions/fsck A more logical place would be the pi_include() procedure. It should be changed to handle not existing firs garcefully. ~ Jow -BEGIN PGP SIGNATURE

Re: [OpenWrt-Devel] [PATCH] Fix typo in name of to be included file

2010-11-16 Thread Mark Vels
On 13/11/10 12:33, Daniel Dickinson wrote: > On Fri, 12 Nov 2010 21:29:08 +0100 > mark.v...@team-embedded.nl wrote: > >> From: Mark Vels >> >> This typo fix solves at least the following warning: >> sysinit: WARNING: /lib/functions/fsck not found >> but probably also some functionality that

[OpenWrt-Devel] [PATCH] lm-sensors package upgrade and new package fancontroled

2010-11-16 Thread Luka Perkov
Upgrade lm-sensors package. Patch enables compiling applications that depend on libsensors library. Add fancontroled (fancontrol for embedded devices) package. fancontroled is linux daemon written in C implementing a temperature dependent fan speed control. fancontroled provides similar functional

[OpenWrt-Devel] [PATCH] correct fair traffic sharing support in qos-scripts

2010-11-16 Thread Ben Pfountz
This patch updates qos-scripts to support fair traffic sharing using the SFQ with external classifiers method. It also corrects a bug in the unsupported ESFQ method already used by qos-scripts. (ESFQ: http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to an SFQ patch after th

[OpenWrt-Devel] [PATCH 3/4] ramips: DMA map the correct RX skb size

2010-11-16 Thread Helmut Schaa
The skb_reserve call prior to DMA mapping the RX skb reduced the skb data len by 2. To not allow DMA to write behind the skb we should pass the correct skb data len to the device. Signed-off-by: Helmut Schaa --- target/linux/ramips/files/drivers/net/ramips.c |4 ++-- 1 files changed, 2 inser

[OpenWrt-Devel] [PATCH 4/4] ramips: Use NET_IP_ALIGN instead of hardcoding 2

2010-11-16 Thread Helmut Schaa
Signed-off-by: Helmut Schaa --- target/linux/ramips/files/drivers/net/ramips.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c index 1f3c35a..8125073 100644 --- a/tar

[OpenWrt-Devel] [PATCH 1/4] ramips: Don't trigger BUG_ON due to skb allocation failure

2010-11-16 Thread Helmut Schaa
Instead just drop the rx'ed frame silently and reuse the already available buffer. Signed-off-by: Helmut Schaa --- target/linux/ramips/files/drivers/net/ramips.c | 35 +--- 1 files changed, 19 insertions(+), 16 deletions(-) diff --git a/target/linux/ramips/files/drivers/ne

[OpenWrt-Devel] [PATCH 2/4] ramips: Remove unnecessary skb_put

2010-11-16 Thread Helmut Schaa
Signed-off-by: Helmut Schaa --- target/linux/ramips/files/drivers/net/ramips.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c index fb849e8..e3c4f13 100644 --- a/target/lin

Re: [OpenWrt-Devel] [PATCH] iptables compile fix

2010-11-16 Thread Bas Mevissen
On Mon, 15 Nov 2010 22:45:48 +0100, Maarten Bezemer wrote: > On Mon, 2010-11-15 at 12:08 +0100, Bas Mevissen wrote: >> I guess something is wrong with your build environment. Clean it up and >> please try again. > > I did (of course), several times in fact. > > After reading your post on the for

Re: [OpenWrt-Devel] build error: mixed implicit and normal rules.

2010-11-16 Thread Bas Mevissen
On Sun, 7 Nov 2010 09:51:13 -0800, Chris Li wrote: > On Sun, Nov 7, 2010 at 5:05 AM, Jo-Philipp Wich wrote: >> >> Both please. > > Here is the patch for the busybox sub tree. > I haven't make it a patch in openwrt so that it will automatically apply > when compile. Is there a good example how to