netdev
[Top] [All Lists]

Re: [PATCH] pci_get_slot()

To: Matthew Wilcox <willy@xxxxxxxxxx>
Subject: Re: [PATCH] pci_get_slot()
From: Greg KH <greg@xxxxxxxxx>
Date: Wed, 17 Dec 2003 16:24:44 -0800
Cc: "David S. Miller" <davem@xxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>, linux-pci@xxxxxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20031015183213.GG16535@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20031015183213.GG16535@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Wed, Oct 15, 2003 at 07:32:13PM +0100, Matthew Wilcox wrote:
> 
> Hi Linus.
> 
> tg3.c has a bug where it can find the wrong 5704 peer on a machine with
> PCI domains.  The problem is that pci_find_slot() can't distinguish
> whether it has the correct domain or not.
> 
> This patch fixes that problem by introducing pci_get_slot() and converts
> tg3 to use it.  It also fixes another problem where tg3 wouldn't find
> a peer on function 7 (0 to <8, not 0 to <7).

I've applied the pci portions of this patch to my trees and will send it
on after 2.6.0 is out.

thanks,

greg k-h

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] pci_get_slot(), Greg KH <=