All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Interface to PCI device list
@ 2006-09-02 14:42 Jean Delvare
  2006-09-02 18:30 ` Greg KH
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jean Delvare @ 2006-09-02 14:42 UTC (permalink / raw)
  To: lm-sensors

Hi Greg,

Currently, the sensors-detect script uses /proc/bus/pci/devices (file)
to get a list of the PCI devices on the system. As this file doesn't
contain PCI class data, and I need it, I was looking for an
alternative. For 2.6 kernels, /sys/bus/pci/devices (directory) looks
like the right place to look at. This raises a few questions, which I
hope you can answer:

1* /proc/bus/pci/devices doesn't appear to contain PCI domain
information. I guess it only lists the devices on domain 0000, and
would miss devices on multi-domain machines?

2* Since which kernel version does /sys/bus/pci/devices look like the
way it is right now? Did the device IDs always include the PCI domain?
If it's stable since 2.6.0, I could use it in sensors-detect.

3* Will /sys/bus/pci/devices go away eventually?

Thanks,
-- 
Jean Delvare


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-05 10:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-02 14:42 [lm-sensors] Interface to PCI device list Jean Delvare
2006-09-02 18:30 ` Greg KH
2006-09-02 20:41 ` Jean Delvare
2006-09-03  1:56 ` Greg KH
2006-09-03  8:28 ` Jean Delvare
2006-09-05 10:05 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.