[PATCH] net: unregister_netdevice as void

2006-12-19 Thread Stephen Hemminger
There was no real useful information from the unregister_netdevice() return code, the only error occurred in a situation that was a driver bug. So change it to a void function. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- include/linux/netdevice.h |2 +- net/core/dev.c|

[PATCH] xt_hashlimit.c: fix typo

2006-12-19 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] --- net/netfilter/xt_hashlimit.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/netfilter/xt_hashlimit.c +++ b/net/netfilter/xt_hashlimit.c @@ -745,7 +745,7 @@ static int __init xt_hashlimit_init(void }

[PATCH] smc911x

2006-12-19 Thread Pierre TARDY
Attached a patch on smc911x driver, which corrects obvious errors in the 16bit chips support of this driver. Please note that this driver still do NOT support 16bit chips (9115 and 9117), as it claims to, there may be mistakes in the data fifo managment, this patch enable the driver to init

[PATCH 1/5] qla3xxx: Add support for Qlogic 4032 chip.

2006-12-19 Thread Ron Mercer
Signed-off-by: Ron Mercer [EMAIL PROTECTED] --- drivers/net/qla3xxx.c | 375 + drivers/net/qla3xxx.h | 92 +++- 2 files changed, 392 insertions(+), 75 deletions(-) diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index

[PATCH 2/5] qla3xxx: Change version to v2.03.00-k2.

2006-12-19 Thread Ron Mercer
Signed-off-by: Ron Mercer [EMAIL PROTECTED] --- drivers/net/qla3xxx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index c39f20d..ae65602 100644 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c @@ -39,7 +39,7 @@

[PATCH 3/5] qla3xxx: Add delay to NVRAM register access.

2006-12-19 Thread Ron Mercer
Some platforms showed issues when no delay was used. This code only runs during the probe. Signed-off-by: Ron Mercer [EMAIL PROTECTED] --- drivers/net/qla3xxx.c | 37 +++-- 1 files changed, 23 insertions(+), 14 deletions(-) diff --git a/drivers/net/qla3xxx.c

[PATCH 4/5] qla3xxx: Remove NETIF_F_LLTX from driver features.

2006-12-19 Thread Ron Mercer
The TX locking was removed some time ago but this flag was overlooked. Signed-off-by: Ron Mercer [EMAIL PROTECTED] --- drivers/net/qla3xxx.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 5aef8aa..24205c6 100644 ---

[PATCH 5/5] qla3xxx: Fixed rx checksum warning.

2006-12-19 Thread Ron Mercer
Signed-off-by: Ron Mercer [EMAIL PROTECTED] --- drivers/net/qla3xxx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index 24205c6..f384e40 100644 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c @@ -1879,7 +1879,7 @@

[PATCH 0/5] qla3xxx:resubmit support for Qlogic 4032 and fixes.

2006-12-19 Thread Ron Mercer
These 5 patches were submitted on Dec 5th (12) and Dec 11th (3-5). They add/fix the following 1. Add support for Qlogic 4032 chip. 2. Change minor version for 4032 support. 3. Add delay when accessing NVRAM. 4. Remove NETIF_F_LLTX flag from features. It was left over from the early driver and

[patch 1/7] 8139too: force media setting cleanup

2006-12-19 Thread akpm
From: Bernard Lee [EMAIL PROTECTED] Setting bit 4 5 alone in 8139too module media option does not really force 100Mbps full-duplex mode. When media option bit 0-3 is cleared, 8139too module does not force media setting. Therefore, bit 0-3 requires to be set for bit 4 5 to take effect. The

[patch 3/7] driver for Silan SC92031 netdev

2006-12-19 Thread akpm
From: Cesar Eduardo Barros [EMAIL PROTECTED] This is a driver for the Silan SC92031/Rsltek 8139D NIC chip. This chip is found on at least one counterfeit Encore ENL832-TX-RENT NIC [1], which came with a mini-CD with the 2.4 driver. A slightly older version of the driver was found at [2]. The

[patch 7/7] netpoll: drivers must not enable IRQ unconditionally in their NAPI handler

2006-12-19 Thread akpm
From: Francois Romieu [EMAIL PROTECTED] net/core/netpoll.c::netpoll_send_skb() calls the poll handler when it is available. As netconsole can be used from almost any context, IRQ must not be enabled blindly in the NAPI handler of a driver which supports netpoll.

[patch 6/7] PHY probe not working properly for ibm_emac (PPC4xx)

2006-12-19 Thread akpm
From: Hynek Petrak [EMAIL PROTECTED] I have a system with AMCC PowerPC 405EP and PHY Intel LXT971A. Linux 2.6.18.3 is not able to detect the PHY ID correctly. The PHY ID detected is 0, but should be 0x1d. This is because phy_read() (__emac_mdio_read() resp.) from

[patch 5/7] ep93xx: some minor cleanups to the ep93xx eth driver

2006-12-19 Thread akpm
From: Yan Burman [EMAIL PROTECTED] Small cleanup in the Cirrus Logic EP93xx ethernet driver: Check for NULL pointer before dereferencing it instead of after. Remove unreferenced variable. Signed-off-by: Yan Burman [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Cc: Russell King [EMAIL

Re: [PATCH] irda: handle out of memory errors

2006-12-19 Thread Samuel Ortiz
On Tue, Dec 19, 2006 at 05:55:09PM +0900, Akinobu Mita wrote: This patch checks return value of memory allocation functions for irda subsystem and fixes memory leaks in error cases. Cc: Samuel Ortiz [EMAIL PROTECTED] Signed-off-by: Akinobu Mita [EMAIL PROTECTED] That looks correct, thanks

Re: [PATCH] irlan: handle out of memory errors

2006-12-19 Thread Samuel Ortiz
On Tue, Dec 19, 2006 at 05:56:01PM +0900, Akinobu Mita wrote: This patch checks return values: - irlmp_register_client() - irlmp_register_service() - irlan_open() Cc: Samuel Ortiz [EMAIL PROTECTED] Signed-off-by: Akinobu Mita [EMAIL PROTECTED] This one seems correct as well, thanks

Re: [ANN] Acrypto asynchronous crypto layer 2.6.19 release.

2006-12-19 Thread Andreas Jellinghaus
Evgeniy Polyakov wrote: You can change it in async_provider in compilation time or I can create module version. There is an item in related todo list to use crypto contexts, they were created exactly for such kind of things (actually for hardware devices which do not support realtime key

Re: [ANN] Acrypto asynchronous crypto layer 2.6.19 release.

2006-12-19 Thread Evgeniy Polyakov
On Tue, Dec 19, 2006 at 11:51:01AM +0100, Andreas Jellinghaus ([EMAIL PROTECTED]) wrote: Evgeniy Polyakov wrote: You can change it in async_provider in compilation time or I can create module version. There is an item in related todo list to use crypto contexts, they were created exactly for

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread Stephen Hemminger
I noticed this bit of discussion in tcp_recvmsg. It implies that a better queuing policy would be good. But it is confusing English (Alexey?) so not sure where to start. if (!sysctl_tcp_low_latency tp-ucopy.task == user_recv) { /* Install new reader */

Re: [2.6 patch] net/irda/: proper prototypes

2006-12-19 Thread Samuel Ortiz
Hi Adrian, On Mon, Dec 18, 2006 at 04:46:26AM +0100, Adrian Bunk wrote: This patch adds proper prototypes for some functions in include/net/irda/irda.h Signed-off-by: Adrian Bunk [EMAIL PROTECTED] looks good to me, thanks. Signed-off-by: Samuel Ortiz [EMAIL PROTECTED] Cheers, Samuel.

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread Herbert Xu
Stephen Hemminger [EMAIL PROTECTED] wrote: I noticed this bit of discussion in tcp_recvmsg. It implies that a better queuing policy would be good. But it is confusing English (Alexey?) so not sure where to start. Actually I think the comment says that the current code isn't the most elegant

BUG: soft lockup detected on CPU#0! (2.6.18.2 plus hacks)

2006-12-19 Thread Ben Greear
This is from 2.6.18.2 kernel with my patch set. The MAC-VLANs are in active use. From the backtrace, I am thinking this might be a generic problem, however. Any ideas about what this could be? It seems to be reproducible every day or two, but no known way to make it happen quickly... Kernel

Re: [Bugme-new] [Bug 7716] New: change in behavior of OUTPUT chain reject rule in 2.6.19?

2006-12-19 Thread Andrew Morton
On Tue, 19 Dec 2006 19:58:14 -0800 [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=7716 Summary: change in behavior of OUTPUT chain reject rule in 2.6.19? Kernel Version: 2.6.19 Status: NEW Severity: normal

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread David Miller
From: Herbert Xu [EMAIL PROTECTED] Date: Wed, 20 Dec 2006 10:52:19 +1100 Stephen Hemminger [EMAIL PROTECTED] wrote: I noticed this bit of discussion in tcp_recvmsg. It implies that a better queuing policy would be good. But it is confusing English (Alexey?) so not sure where to start.

Re: [2.6 patch] drivers/atm/Kconfig: remove dead ATM_TNETA1570 option

2006-12-19 Thread David Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Tue, 19 Dec 2006 05:13:00 +0100 This patch removes the unconverted ATM_TNETA1570 option that also lacks any code in the kernel. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Applied, thanks Adrian. - To unsubscribe from this list: send the line

Re: [2.6 patch] drivers/atm/fore200e.c: cleanups

2006-12-19 Thread David Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Tue, 19 Dec 2006 05:12:58 +0100 This patch contains the following transformations from custom functions to standard kernel version: - fore200e_kmalloc() - kzalloc() - fore200e_kfree() - kfree() - fore200e_swap() - cpu_to_be32() Signed-off-by:

netif_poll_enable() barrier

2006-12-19 Thread Benjamin Herrenschmidt
Hi ! I stumbled accross what might be a bug on out of order architecture: netif_poll_enable() only does a clear_bit(). However, netif_poll_disable/enable pairs are often used as simili-spinlocks. (netif_poll_enable() has pretty much spin_lock semantics except that it schedules instead of

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread Stephen Hemminger
On Tue, 19 Dec 2006 18:55:25 -0800 (PST) David Miller [EMAIL PROTECTED] wrote: From: Herbert Xu [EMAIL PROTECTED] Date: Wed, 20 Dec 2006 10:52:19 +1100 Stephen Hemminger [EMAIL PROTECTED] wrote: I noticed this bit of discussion in tcp_recvmsg. It implies that a better queuing policy

Re: Bug 7596 - Potential performance bottleneck for Linxu TCP

2006-12-19 Thread David Miller
From: Stephen Hemminger [EMAIL PROTECTED] Date: Tue, 19 Dec 2006 21:11:24 -0800 It was the realtime/normal comments that piqued my interest. Perhaps we should either tweak process priority or remove the comments. I mentioned that to Linus once and he said the entire idea was bogus. With the

[PATCH] d80211: allow migration to ieee80211_dev

2006-12-19 Thread Michael Wu
d80211: allow migration to ieee80211_dev This patch allows drivers to switch from ieee80211_hw to ieee80211_dev before we really rename ieee80211_hw and break everything. Signed-off-by: Michael Wu [EMAIL PROTECTED] --- include/net/d80211.h |3 +++ 1 files changed, 3 insertions(+), 0

[PATCH] forcedeth: modified comment header

2006-12-19 Thread Ayaz Abdulla
This patch removes comment that forcedeth is not supported by NVIDIA. Signed-Off-By: Ayaz Abdulla [EMAIL PROTECTED] --- orig-2.6/drivers/net/forcedeth.c2006-12-19 23:16:38.0 -0500 +++ new-2.6/drivers/net/forcedeth.c 2006-12-19 23:19:28.0 -0500 @@ -3,8 +3,7 @@ * *

[PATCH] d80211: fix softlockup in hw_scan card when rmmod

2006-12-19 Thread Hong Liu
The local-scan_work.data is not clear after scan is completed. This will cause softlockup when removing driver module because the local-scan_work is not initialized for hw_scan card and we are trying to cancel the scan_work with an uninitialized timer_list. Signed-off-by: Hong Liu [EMAIL