Re: Order of PCI ID's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 26, 2010 at 01:23:50PM +0100, Andreas Besse wrote:
> Alex Chiang wrote:
> > * Greg KH <greg@xxxxxxxxx>:
> >   
> >> On Mon, Jan 25, 2010 at 09:27:18PM -0700, Alex Chiang wrote:
> >>     
> >>> * Greg KH <greg@xxxxxxxxx>:
> >>>       
> >>>> On Mon, Jan 25, 2010 at 09:57:45AM -0800, Gary Hade wrote:
> >>>>         
> >>>>> Andreas, Would the physical slot number to PCI ID mapping
> >>>>> provided in /sys/bus/pci/slots by the 'pci_slot' driver possibly
> >>>>> be of any use to you?
> >>>>>           
> >>>> That mapping should be already there if it is provided by the BIOS.
> >>>>         
> >>> Where? Somewhere else in sysfs?
> >>>
> >>> /sys/bus/pci/slots/ only gets populated when a hotplug driver or
> >>> pci_slot are loaded.
> >>>
> >>> And if those slots aren't hotplug capable, then that directory
> >>> won't get populated.
> >>>       
> >> Ah, I was thinking of the pci_slot stuff.
> >>     
> >
> > Gah, I was attempting to clarify, but instead made things worse.
> >
> > If the slots aren't physically capable of hotplug, then loading a
> > hotplug driver (pciehp, acpiphp, shpchp, etc.) will not populate
> > the directory. However, you may still have a chance at populating
> > the directory if the slots are described in ACPI by the BIOS.
> >
> >   
> >>> Finally, if the slots aren't described by ACPI, that directory
> >>> also won't get populated.
> >>>       
> >
> > In that scenario -- non hotplug slots, but described by ACPI --
> > you can modprobe pci_slot and you will indeed get entries in
> > /sys/bus/pci/slots/
> >   
> 
> thanks for your clarification.
> 
> the directory /sys/bus/pci/slots does not exist on my machine (kernel
> 2.6.25.20-0.5-pae, openSUSE 11.0).
> 
> if i type "modprobe pci_slot" i get the following error:
> FATAL: Module pci_slot not found.
> 
> is the module pci_slot only available in newer kernel releases?

If you are able to update, it looks like openSUSE 11.2 has it.

Gary

-- 
Gary Hade
System x Enablement
IBM Linux Technology Center
503-578-4503  IBM T/L: 775-4503
garyhade@xxxxxxxxxx
http://www.ibm.com/linux/ltc

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux