eth1 became eth2, but dmesg still says eth1

2007-05-05 Thread Ryan Richter
Upon upgrading from 2.6.20.7 to 2.6.20.11, e1000 seems to be confused about what the second ethernet interface is called. Here's what dmesg says: Intel(R) PRO/1000 Network Driver - version 7.3.15-k2 Copyright (c) 1999-2006 Intel Corporation. ACPI: PCI Interrupt :04:00.0[A] -> GSI 18 (level,

Re: Merging SSB upstream

2007-05-05 Thread Jeff Garzik
Michael Buesch wrote: So, now that mac80211 is merged upstream, I think it's time to merge SSB and the b44-ssb port upstream. Note that bcm43xx-mac80211 is _not_ ready for upstream, yet. What do you think? I'd like to merge ssb as-is, although the embedded-device parts are not quite finished, ye

Re: Merging SSB upstream

2007-05-05 Thread John W. Linville
On Sun, May 06, 2007 at 03:03:17AM +0200, Michael Buesch wrote: > So, now that mac80211 is merged upstream, I think it's > time to merge SSB and the b44-ssb port upstream. > Note that bcm43xx-mac80211 is _not_ ready for upstream, yet. ACK, unfortunately. > What do you think? I'd like to merge ss

Merging SSB upstream

2007-05-05 Thread Michael Buesch
So, now that mac80211 is merged upstream, I think it's time to merge SSB and the b44-ssb port upstream. Note that bcm43xx-mac80211 is _not_ ready for upstream, yet. What do you think? I'd like to merge ssb as-is, although the embedded-device parts are not quite finished, yet. But they don't interf

[PATCH revised 11/11][TG3]: Update version and reldate.

2007-05-05 Thread Michael Chan
[TG3]: Update version and reldate. Update version to 3.76. Signed-off-by: Michael Chan <[EMAIL PROTECTED]> diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 70b8c5e..184c275 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -64,8 +64,8 @@ #define DRV_MODULE_NAME

[PATCH revised 10/11][TG3]: Eliminate spurious interrupts.

2007-05-05 Thread Michael Chan
[TG3]: Eliminate spurious interrupts. Spurious interrupts are often encountered especially on systems using the 8259 PIC mode. This is because the I/O write to deassert the interrupt is posted and won't get to the chip immediately. As a result, the IRQ may remain asserted after the IRQ handler e

[PATCH revised 9/11][TG3]: Add ASPM workaround.

2007-05-05 Thread Michael Chan
[TG3]: Add ASPM workaround. This patch adds workaround to fix performance problems caused by slow PCIE L1->L0 transitions on ICH8 platforms. Changed all magic numbers to constants as suggested by Jeff Garzik. Signed-off-by: Matt Carlson <[EMAIL PROTECTED]> Signed-off-by: Michael Chan <[EMAIL PRO

Re: [PATCH 10/11][TG3]: Reduce spurious interrupts.

2007-05-05 Thread Michael Chan
On Fri, 2007-05-04 at 20:47 -0700, David Miller wrote: > From: "Michael Chan" <[EMAIL PROTECTED]> > Date: Fri, 4 May 2007 19:50:10 -0700 > > > In a small number of cases, we really get a ton of spurious interrupts. > > We have even seen the kernel shutting off IRQ7 because of too many > > unclaime

Re: [PATCH 8/11][TG3]: Add TG3_FLAG_SUPPORT_MSI flag.

2007-05-05 Thread David Miller
From: Jeff Garzik <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 20:38:43 -0400 > Michael Chan wrote: > > @@ -10404,6 +10400,8 @@ static void __devinit tg3_read_fw_ver(struct tg3 > > *tp) > > } > > } > > > > +static struct pci_dev * __devinit tg3_find_peer(struct tg3 *); > > + > > static int

Re: [PATCH 9/11][TG3]: Add ASPM workaround.

2007-05-05 Thread David Miller
From: Jeff Garzik <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 20:40:09 -0400 > Michael Chan wrote: > > --- a/drivers/net/tg3.c > > +++ b/drivers/net/tg3.c > > @@ -3019,6 +3019,15 @@ static int tg3_setup_phy(struct tg3 *tp, int > > force_reset) > > } > > } > > > > + if (tp->tg3_

Re: [PATCH 0/4] add mac80211 wireless infrastructure

2007-05-05 Thread John W. Linville
On Sat, May 05, 2007 at 10:33:36AM +0100, Christoph Hellwig wrote: > On Fri, May 04, 2007 at 11:17:49PM -0400, John W. Linville wrote: > > This component was in -mm for most of the 2.6.21 cycle, with few > > reported bugs. The code is also currently available in Fedora rawhide > > where it has pe

Re: [PATCH 0/4] add mac80211 wireless infrastructure

2007-05-05 Thread John W. Linville
On Fri, May 04, 2007 at 10:57:21PM -0700, David Miller wrote: > Dammit John, get that tuxdriver.com spam filter fixed! > :-) :-) Nah, I think it was my clumsy hand-editing of some mail headers. I must remember to let the machine do the work... John -- John W. Linville [EMAIL PROTECTED] - To uns

Re: [PATCH 7/11][TG3]: Eliminate the TG3_FLAG_5701_REG_WRITE_BUG flag.

2007-05-05 Thread David Miller
From: Christoph Hellwig <[EMAIL PROTECTED]> Date: Sat, 5 May 2007 10:46:12 +0100 > On Fri, May 04, 2007 at 05:54:17PM -0700, Michael Chan wrote: > > + else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5701 || > > +((tp->tg3_flags2 & TG3_FLG2_PCI_EXPRESS) && > > + tp-

Re: [PATCH 6/11][TG3]: Eliminate the TG3_FLAG_GOT_SERDES_FLOWCTL flag.

2007-05-05 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 17:54:01 -0700 > [TG3]: Eliminate the TG3_FLAG_GOT_SERDES_FLOWCTL flag. > > This flag does not do anything useful. > > Signed-off-by: Michael Chan <[EMAIL PROTECTED]> It did do something useful at one point :-) Applied, thanks. -

Re: [PATCH 5/11][TG3]: Remove reset during MAC address changes.

2007-05-05 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 17:52:58 -0700 > [TG3]: Remove reset during MAC address changes. > > The reset was added a while back so that ASF could re-init whatever > MAC address it wanted to use after the MAC address was changed. > Instead of resetting, we can

Re: [PATCH 4/11][TG3]: WoL fixes.

2007-05-05 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 17:52:44 -0700 > [TG3]: WoL fixes. > > Change TG3_FLAG_SERDES_WOL_CAP to TG3_FLAG_WOL_CAP to make it easier > to manage WoL. This flag is now used consistently during ethtool WoL > setup and power setting changes. > > Signed-off-by

Re: [PATCH 3/11][TG3]: Clear GPIO mask before storing.

2007-05-05 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 17:52:38 -0700 > [TG3]: Clear GPIO mask before storing. > > The GPIO settings may change during reset and so the stored values in > tp->grc_local_ctrl should be cleared first. > > Signed-off-by: Gary Zambrano <[EMAIL PROTECTED]> > S

Re: [PATCH 1/11][TG3]: Fix TSO bugs.

2007-05-05 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 17:51:48 -0700 > [TG3]: Fix TSO bugs. > > 1. Remove the check for skb->len greater than MTU when doing TSO. > When the destination has a smaller MSS than the source, a TSO packet > may be smaller than the MTU and we still need to pro

Re: [PATCH 2/11][TG3]: Improve NVRAM sizing.

2007-05-05 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 04 May 2007 17:52:26 -0700 > [TG3]: Improve NVRAM sizing. > > This patch changes the NVRAM sizing procedure so that the driver can > take advantage of devices with 1:1 NVRAM strapping configurations. This > is useful in cases where the traditio

Re: [PATCH 0/4] add mac80211 wireless infrastructure

2007-05-05 Thread David Miller
From: "John W. Linville" <[EMAIL PROTECTED]> Date: Fri, 4 May 2007 23:17:49 -0400 > This series adds the mac80211 component. This is the new wireless > infrastructure for "softmac"-style wireless hardware. It originated > as code contributed by Devicescape, and has been under development by > th

Re: [patch 25/29] xen: Add the Xen virtual network device driver.

2007-05-05 Thread Herbert Xu
On Sat, May 05, 2007 at 03:05:07AM -0700, Jeremy Fitzhardinge wrote: > > Sorry, I forgot about it. I was waiting to hear back from network > people about what this is actually for, and whether we really need it. We should just change this to use netif_device_attach and netif_device_detach. Chee

Re: [PATCH 00/40] Swap over Networked storage -v12

2007-05-05 Thread William Lee Irwin III
On Fri, 04 May 2007 12:26:51 +0200, Peter Zijlstra <[EMAIL PROTECTED]> wrote: >>> There is a fundamental deadlock associated with paging; On Fri, May 04, 2007 at 12:27:16PM -0700, David Miller wrote: >> I know you'd really like people like myself to review this work, but a >> set of 40 patches is

Re: [-mm patch] fix fs/nfs/nfsroot.c compile error

2007-05-05 Thread Trond Myklebust
On Sat, 2007-05-05 at 13:20 -0400, Trond Myklebust wrote: > On Sat, 2007-05-05 at 18:44 +0200, Adrian Bunk wrote: > > On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: > > >... > > > Changes since 2.6.21-rc7-mm2: > > >... > > > git-net.patch > > >... > > > git trees > > >... > > > >

Re: [PATCH 7/11][TG3]: Eliminate the TG3_FLAG_5701_REG_WRITE_BUG flag.

2007-05-05 Thread Christoph Hellwig
On Fri, May 04, 2007 at 05:54:17PM -0700, Michael Chan wrote: > + else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5701 || > + ((tp->tg3_flags2 & TG3_FLG2_PCI_EXPRESS) && > + tp->pci_chip_rev_id == CHIPREV_ID_5750_A0)) { > + /* Back to back register

Re: [-mm patch] fix fs/nfs/nfsroot.c compile error

2007-05-05 Thread Trond Myklebust
On Sat, 2007-05-05 at 18:44 +0200, Adrian Bunk wrote: > On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.21-rc7-mm2: > >... > > git-net.patch > >... > > git trees > >... > > match_table_t was made "const" and gcc doesn't like "const __initdata": Then p

[-mm patch] fix fs/nfs/nfsroot.c compile error

2007-05-05 Thread Adrian Bunk
On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: >... > Changes since 2.6.21-rc7-mm2: >... > git-net.patch >... > git trees >... match_table_t was made "const" and gcc doesn't like "const __initdata": <-- snip --> ... CC fs/nfs/nfsroot.o /home/bunk/linux/kernel-2.6/linux

Re: [patch 25/29] xen: Add the Xen virtual network device driver.

2007-05-05 Thread Jeremy Fitzhardinge
Christoph Hellwig wrote: > There only seems to be a module description but no actual paramter for > this. I wish people would have listened to me back then and made the > description part of the modular_param statement.. > Uh, what did I miss? Oh, I see, I need a module_param(rx_mode, int, 06

Re: [PATCH 2/2] [AF_IUCV/IUCV] : Add missing section annotations

2007-05-05 Thread Heiko Carstens
On Fri, May 04, 2007 at 12:24:19PM -0700, David Miller wrote: > From: Frank Pavlic <[EMAIL PROTECTED]> > Date: Fri, 4 May 2007 11:52:38 +0200 > > > From: Heiko Carstens <[EMAIL PROTECTED]> > > > > Add missing section annotations and found and fixed some > > Coding Style issues. > > > > Signed-of

Re: [patch 25/29] xen: Add the Xen virtual network device driver.

2007-05-05 Thread Rusty Russell
On Sat, 2007-05-05 at 10:16 +0100, Christoph Hellwig wrote: > I wish people would have listened to me back then and made the > description part of the modular_param statement.. Sometimes we weary of change. However, come up with a decent name and implement it and we can deprecate module_param() b

[PATCH 4/4 (resend)] mac80211: add maintainers entry for mac80211

2007-05-05 Thread John W. Linville
From: Jiri Benc <[EMAIL PROTECTED]> Add MAINTAINERS entry for mac80211. Signed-off-by: Jiri Benc <[EMAIL PROTECTED]> Signed-off-by: John W. Linville <[EMAIL PROTECTED]> --- MAINTAINERS | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS in

[PATCH 2/4 (resend)] mac80211: add mac80211 wireless stack

2007-05-05 Thread John W. Linville
From: Jiri Benc <[EMAIL PROTECTED]> Add mac80211, the IEEE 802.11 software MAC layer. Signed-off-by: Jiri Benc <[EMAIL PROTECTED]> Signed-off-by: John W. Linville <[EMAIL PROTECTED]> --- include/net/mac80211.h | 1045 net/Kconfig |1 + net/Makefile

[PATCH 1/4 (resend)] mac80211: add generic include/linux/ieee80211.h

2007-05-05 Thread John W. Linville
From: Jiri Benc <[EMAIL PROTECTED]> Add generic IEEE 802.11 definitions. Signed-off-by: Jiri Benc <[EMAIL PROTECTED]> Signed-off-by: John W. Linville <[EMAIL PROTECTED]> --- include/linux/ieee80211.h | 342 + 1 files changed, 342 insertions(+), 0 dele

Re: [PATCH 00/40] Swap over Networked storage -v12

2007-05-05 Thread Christoph Hellwig
On Fri, May 04, 2007 at 12:27:16PM -0700, David Miller wrote: > From: Peter Zijlstra <[EMAIL PROTECTED]> > Date: Fri, 04 May 2007 12:26:51 +0200 > > > There is a fundamental deadlock associated with paging; > > I know you'd really like people like myself to review this work, but a > set of 40 pat

Re: [PATCH 0/4] add mac80211 wireless infrastructure

2007-05-05 Thread Christoph Hellwig
On Fri, May 04, 2007 at 11:17:49PM -0400, John W. Linville wrote: > This series adds the mac80211 component. This is the new wireless > infrastructure for "softmac"-style wireless hardware. It originated > as code contributed by Devicescape, and has been under development by > the community for w

Re: [patch 25/29] xen: Add the Xen virtual network device driver.

2007-05-05 Thread Christoph Hellwig
On Fri, May 04, 2007 at 04:21:16PM -0700, Jeremy Fitzhardinge wrote: > +/* > + * Mutually-exclusive module options to select receive data path: > + * rx_copy : Packets are copied by network backend into local memory > + * rx_flip : Page containing packet data is transferred to our ownership > + *

Re: How to find I/F to destination

2007-05-05 Thread Evgeniy Polyakov
On Fri, May 04, 2007 at 02:33:45PM +0100, David Howells ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > > That is the same, dst is dereferenced as rtable. > > Cloned dst is returned, so it must be put back at the ned of the usage. > > If that's the case, then why do

Re: How to find I/F to destination

2007-05-05 Thread Evgeniy Polyakov
On Fri, May 04, 2007 at 03:59:18PM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: > >>You need dst_release(&rt->u.dst) here. > > > > > > Thanks. I think Evgeniy's code may be wrong then. He ends with a > > dst_clone(), which I think is superfluous. > > > Yes, that looks wrong. Main idea

Re: [PATCH 08/40] mm: kmem_cache_objsize

2007-05-05 Thread Pekka J Enberg
On Fri, 4 May 2007, Christoph Lameter wrote: > He is not able to calculate it just using the object size since he does > not know where the slab put the slab management structure. And in case of > SLUB there is no slab management structure... Which means he would have to > special case based on