lkml.org 
[lkml]   [2002]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [0/4] NUMA-Q: remove PCI bus number mangling
On Tue, Nov 12, 2002 at 04:20:32PM -0800, Greg KH wrote:
>> Ok, then also please fix up drivers/pci/probe.c::pci_setup_device() to
>> set a unique slot_name up for the pci_dev, if you have multiple
>> domains/segments.
>> thanks,
>> greg k-h

On Tue, Nov 12, 2002 at 04:28:55PM -0800, William Lee Irwin III wrote:
> Okay, tihs just needs the introduction of something that can produce
> a number out of ->sysdata (or whatever):
> sprintf(dev->slot_name, "%02x:%02x.%d", dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
>
> This wants to be something like:
> sprintf(dev->slot_name, "%02x:%02x:%02x.%d", dev->bus->segment, dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
> On the way in 5 minutes or thereabouts. I'm restarting from just before
> the NUMA changes.

Some low-level port I/O stuff has to be adjusted for correct resource
accounting. This is going to bump the ETA back to about 2 hours.

Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.102 / U:1.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site