tree states

2006-03-01 Thread David S. Miller
Some notes: 1) I am only going to consider 1 or 2 liner simple, obvious, and important bug fixes for 2.6.16, treat it like a patch submission for -stable. Basically the same rules. 2) If you have anything you want seriously considered for net-2.6.17 you should submit it soon, very soon

[PKTGEN 3/3]: Updates version.

2006-03-01 Thread Luiz Fernando Capitulino
Due to the thread's lock changes, we're at a new version now. Signed-off-by: Luiz Capitulino <[EMAIL PROTECTED]> --- net/core/pktgen.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 8a424120e162b8efaf01cadc6b8a222ea7888608 diff --git a/net/core/pktgen.c b/net/core/pktgen.c index

[PKTGEN 0/3]: Thread's lock cleanups.

2006-03-01 Thread Luiz Fernando Capitulino
Hi, I've split the pkgten's thread lock work into three patches: [PKTGEN 1/3]: Convert thread lock to mutexes. [PKTGEN 2/3]: Removes thread_{un,}lock() macros. [PKTGEN 3/3]: Updates version. Thanks. -- Luiz Fernando N. Capitulino - To unsubscribe from this list: send the line "unsubscribe

[PKTGEN 2/3]: Removes thread_{un,}lock() macros.

2006-03-01 Thread Luiz Fernando Capitulino
As suggested by Arnaldo, this patch replaces the thread_lock()/thread_unlock() by directly calls to mutex_lock()/mutex_unlock(). This change makes the code a bit more readable, and the direct calls are used everywhere in the kernel. Signed-off-by: Luiz Capitulino <[EMAIL PROTECTED]> --- net

Re: net-2.6.17 rebased...

2006-03-01 Thread Ian McDonald
And *** again... someone pointed out my mailer is wrapping lines. I'll go hide in the corner and beat myself up. This time attached as I can't get gmail to defeat line wrapping. I promise I'll get it right next patch so I don't humiliate myself quite so much next time Dave, If you get a chance can

[PATCH] tg3: Add DMA address workaround

2006-03-01 Thread Michael Chan
Add DMA workaround for chips that do not support full 64-bit DMA addresses. 5714, 5715, and 5780 chips only support DMA addresses less than 40 bits. On 64-bit systems with IOMMU, set the dma_mask to 40-bit so that pci_map_xxx() calls will map the DMA address below 40 bits if necessary. On 64-bit s

Re: net-2.6.17 rebased...

2006-03-01 Thread Ian McDonald
F**k - just pasted in the wrong file. Trying again On 3/2/06, Ian McDonald <[EMAIL PROTECTED]> wrote: > On 3/2/06, David S. Miller <[EMAIL PROTECTED]> wrote: > > > > This tree was getting crufty, so I rebased it today. > > It was actually a lot easier than I had anticipated. > > > > master

[RFT 6/7] sky2: re-enable MSI

2006-03-01 Thread Stephen Hemminger
Restore MSI functionality to sky2 driver, now we have proper interrupt management. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/sky2.c2006-03-01 16:10:34.0 -0800 +++ sky2/drivers/net/sky2.c 2006-03-01 16:12:45.0 -0800 @@ -92,6 +92,10

[RFT 7/7] sky2: version 1.0-pre1

2006-03-01 Thread Stephen Hemminger
Tag version. --- sky2.orig/drivers/net/sky2.c2006-03-01 16:12:45.0 -0800 +++ sky2/drivers/net/sky2.c 2006-03-01 16:12:52.0 -0800 @@ -51,7 +51,7 @@ #include "sky2.h" #define DRV_NAME "sky2" -#define DRV_VERSION"0.15" +#define DRV_VERSION

[RFT 2/7] sky2: don't seed random

2006-03-01 Thread Stephen Hemminger
Don't use sky2 to seed random pool beacause the network packet arrival time will not be truly random due to NAPI and interrupt mitigation. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/sky2.c2006-02-28 15:34:58.0 -0800 +++ sky2/drivers/net/sky2.c

[RFT 0/7] sky2:

2006-03-01 Thread Stephen Hemminger
This patch has several fixes for sky2 hangs based on IRQ problems and oversize frames. It is very new, so really not ready for 2.6.16. It works form me on Yukon EC and XL. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordo

[RFT 3/7] sky2: force transmit status

2006-03-01 Thread Stephen Hemminger
Force a transmit status interrupt if transmit ring gets nearly full. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/sky2.c2006-03-01 13:39:55.0 -0800 +++ sky2/drivers/net/sky2.c 2006-03-01 13:47:31.0 -0800 @@ -70,7 +70,7 @@ #define TX_R

[RFT 5/7] sky2: pure NAPI interrupt handling

2006-03-01 Thread Stephen Hemminger
Redo the interupt handling of sky2 driver based on the IRQ mangement documentation. All interrupts are handled by the device0 NAPI poll routine. Don't need to adjust interrupt mask in IRQ context, done only when changing device under RTNL. Therefore don't need hwlock anymore. Signed-off-by: Steph

[RFT 1/7] sky2: remove old Yukon-EC A1 support

2006-03-01 Thread Stephen Hemminger
Remove support for Yukon EC revision 1 because it requires several workarounds that have never been tested. This simplifies the code, and doesn't raise false expectations. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/sky2.c2006-02-28 15:34:52.0 -

[RFT 4/7] sky2: truncate oversize packets

2006-03-01 Thread Stephen Hemminger
Turn on truncation to prevent getting choked by frames larger than expected. Without this fix, driver hangs after receiving an oversize packet. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- sky2.orig/drivers/net/sky2.c2006-03-01 13:47:31.0 -0800 +++ sky2/drivers/net/sk

Re: net-2.6.17 rebased...

2006-03-01 Thread Ian McDonald
On 3/2/06, David S. Miller <[EMAIL PROTECTED]> wrote: > > This tree was getting crufty, so I rebased it today. > It was actually a lot easier than I had anticipated. > > master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.17.git > Dave, If you get a chance can you push the ccid3 divi

Re: [PATCH] pktgen: Convert thread lock to mutexes.

2006-03-01 Thread Luiz Fernando Capitulino
On Wed, 01 Mar 2006 16:05:55 -0800 (PST) "David S. Miller" <[EMAIL PROTECTED]> wrote: > From: "Arnaldo Carvalho de Melo" <[EMAIL PROTECTED]> > Date: Wed, 1 Mar 2006 11:22:25 -0300 > > > On 3/1/06, Luiz Fernando Capitulino <[EMAIL PROTECTED]> wrote: > > > > > > Hi! > > > > > > pktgen's thread se

Re: [PATCH] use fget_light for network syscalls

2006-03-01 Thread David S. Miller
From: Benjamin LaHaise <[EMAIL PROTECTED]> Date: Tue, 28 Feb 2006 08:32:37 -0800 > The patch below reworks socket.c to use fget_light() in place of fget() > for the various networking syscalls. This is of particular value with > SMP kernels running on the P4 as the memory barriers the atomic op

Re: [PATCH] pktgen: Convert thread lock to mutexes.

2006-03-01 Thread David S. Miller
From: "Arnaldo Carvalho de Melo" <[EMAIL PROTECTED]> Date: Wed, 1 Mar 2006 11:22:25 -0300 > On 3/1/06, Luiz Fernando Capitulino <[EMAIL PROTECTED]> wrote: > > > > Hi! > > > > pktgen's thread semaphores are strict mutexes, convert them to the mutex > > implementation. > > > > Signed-off-by: Luiz

net-2.6.17 rebased...

2006-03-01 Thread David S. Miller
This tree was getting crufty, so I rebased it today. It was actually a lot easier than I had anticipated. master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.17.git I've left the old tree around as: master.kernel.org:/pub/scm/linux/kernel/git/davem/bak-net-2.6.17.git just

Re: [PATCH] IrDA: TOIM3232 dongle support

2006-03-01 Thread David S. Miller
From: Samuel Ortiz <[EMAIL PROTECTED]> Date: Thu, 2 Mar 2006 00:36:23 +0200 > Here goes a patch for supporting TOIM3232 based serial IrDA dongles. > The code is based on the tekram dongle code. > > It's been tested with a TOIM3232 based IRWave 320S dongle. It may work > for TOIM4232 dongles, alth

Re: [PATCH] pcmcia: avoid binding hostap_cs to Orinoco cards

2006-03-01 Thread Jeff Garzik
Linux Kernel Mailing List wrote: commit 40e3cad61197fce63853e778db020f7637d988f2 tree 6e086c930e1aef0bb24eb61af42d1f3c1fb7d38c parent f0892b89e3c19c7d805825ca12511d26dcdf6415 author Pavel Roskin <[EMAIL PROTECTED]> Tue, 28 Feb 2006 11:18:31 -0500 committer Dominik Brodowski <[EMAIL PROTECTED]> We

[PATCH] IrDA: TOIM3232 dongle support

2006-03-01 Thread Samuel Ortiz
Hi David, Here goes a patch for supporting TOIM3232 based serial IrDA dongles. The code is based on the tekram dongle code. It's been tested with a TOIM3232 based IRWave 320S dongle. It may work for TOIM4232 dongles, although it's not been tested. Cheers, Samuel. Signed-off-by: David Basden <[E

[git patch] e1000 fix

2006-03-01 Thread Jeff Garzik
Please pull from 'upstream-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git to receive the following updates: drivers/net/e1000/e1000.h |3 - drivers/net/e1000/e1000_main.c | 117 +++-- 2 files changed, 45 insertio

Re: [PATCH 0/7] acxsm: Make acxsm modular again (2nd try)

2006-03-01 Thread Carlos Martín
On Wednesday 01 March 2006 14:47, Denis Vlasenko wrote: > On Wednesday 01 March 2006 12:35, Denis Vlasenko wrote: > > This will reside in acx-common module. But acx111pci_ioctl_info() itself > > is in pci.c and will be in acx-pci module and it has no EXPORT decl. > > IIRC it won't work. modprobe wi

Re: netconsole problem

2006-03-01 Thread JaniD++
- Original Message - From: "Prosenjit Kundu" <[EMAIL PROTECTED]> To: "JaniD++" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, March 01, 2006 12:18 PM Subject: Re: netconsole problem > Can you connect a serial cable and send the dump? Yes, the serial cable is already connected, but not used.

Re: [PATCH] pktgen: Convert thread lock to mutexes.

2006-03-01 Thread Arnaldo Carvalho de Melo
On 3/1/06, Luiz Fernando Capitulino <[EMAIL PROTECTED]> wrote: > > Hi! > > pktgen's thread semaphores are strict mutexes, convert them to the mutex > implementation. > > Signed-off-by: Luiz Capitulino <[EMAIL PROTECTED]> While you're at it I suggest removing the thread_[un]lock wrappers and use

Re: [PATCH 0/7] acxsm: Make acxsm modular again (2nd try)

2006-03-01 Thread Denis Vlasenko
On Wednesday 01 March 2006 12:35, Denis Vlasenko wrote: > Regarding acxpci_ functions in acx_func.h. > For example, acx111pci_ioctl_info() is called here from ioctl.c: > > static int > acx111_ioctl_info( > struct net_device *ndev, > struct iw_request_info *info, > union iwr

[PATCH] pktgen: Convert thread lock to mutexes.

2006-03-01 Thread Luiz Fernando Capitulino
Hi! pktgen's thread semaphores are strict mutexes, convert them to the mutex implementation. Signed-off-by: Luiz Capitulino <[EMAIL PROTECTED]> --- net/core/pktgen.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) 1185abd5dacbca3052ccd93e059c497bbc8869b2 diff --git a/net

Re: Please pull 'upstream' branch of wireless-2.6 (additional to 2/17 request)

2006-03-01 Thread John W. Linville
On Wed, Mar 01, 2006 at 02:02:40AM -0500, Jeff Garzik wrote: > John W. Linville wrote: > >This request is in addition to the request from 2/17, which does not > >yet seem to be in the 'upstream' branch of netdev-2.6. > Pulled, but in the future: > > 1) _always_ include _all_ changes in your pull

Re: netconsole problem

2006-03-01 Thread Prosenjit Kundu
Can you connect a serial cable and send the dump? PK On 3/1/06, JaniD++ <[EMAIL PROTECTED]> wrote: > Hello, list, > > I have one reproducible (possible network related) bug in 2.6.16 series, > wich cause crash(?) , freez, and random reboots. > > I try to catch some kernel messages, but the syslog

Re: [PATCH 0/7] acxsm: Make acxsm modular again (2nd try)

2006-03-01 Thread Denis Vlasenko
On Tuesday 28 February 2006 18:30, Carlos Martin wrote: > Hi, > > There are a couple of differences between this and my previos patch, > so I'll list them here: > > - Separate the patches properly > > - This patchset uses the default generic functions and calls the > appropiate function using

Re: ANNOUNCE: new DHCP client for linux 2.6.x

2006-03-01 Thread Gábor Fekete
Hi, I just noticed that what you do is somewhat similar to DNAv4 [1][2]. Would not it be better to separate DHCP and movement detection to separate modules? So others than DHCP could use the decision of the movement detection too. And by the way, there is also ongoing work on DNAv6 to detect netwo