Greg, Here is the numaq portion of the cleanup. This is the part that I was originally intending to fix when this whole thing started. This patch makes the PCI busses on the secondary quads for NUMA-Q working. Please add this to the pile of PCI cleanups. Thanks! -Matt Greg KH wrote: > On Thu, Aug 15, 2002 at 09:36:45AM -0700, Greg KH wrote: > >>If there are no complaints, I think I'll go implement this, and move the >>functions into the main pci code so that other parts of the kernel (like >>ACPI) can use them. > > > Ok, here's the patch that goes on top of Matt's previous patch, moving > the pci_ops functions to be pci_bus based instead of pci_dev, like they > are today. This enables us to get rid of all of the pci_*_nodev > functions in the pci hotplug core (that's 245 lines removed :) It's > currently running on the machine I'm typing this from. > > I used the devfn as a paramater instead of the function and slot, as > some archs just take the devfn and move it around before using it. If > there were two paramaters, we would be splitting the values apart, and > then putting them back together for every function. > > This is only for i386, if there's no complaints I'll knock out the other > archs before submitting it. > > thanks, > > greg k-h