[ltp] PCI Detect

sensors linux-thinkpad@linux-thinkpad.org
Thu, 07 Oct 2004 05:09:39 +0000


Hi All

I wanted to detect a PCI device whose address is Bus-0 Device-9 Function-0.
How to do this without using the Vendor_id and device-id.
I believe pci_find_slot( ) will be handy but how to specify the device number and function number. Can any body please help out with it.

Thanks in Advance