Re: [0/4] NUMA-Q: remove PCI bus number mangling

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Wed, 13 Nov 2002 15:07:16 +0300


On Tue, Nov 12, 2002 at 04:28:55PM -0800, William Lee Irwin III wrote:
> 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
>
> Okay, tihs just needs the introduction of something that can produce
> a number out of ->sysdata (or whatever):

Please use existing pci_controller_num(struct pci_dev *pdev).
It does exactly that you want.

Ivan.
-
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/