/proc/bus/pci Question

Steven Ness (sness@stormix.com)
Mon, 24 Jan 2000 14:08:16 -0800 (PST)


Hi,

On my system, in /proc/bus/pci, there are two directories, "00" and "01",
I assume these represent the first and second PCI busses on my system.
My question is, what do the files in these directories do?

Also, a possibly related question: Is there any way to get the
pci_devices dev->class field from userspace? I notice that the new
/proc/bus/pci/devices file has a lot of information, but doesn't include
the class type (e.g. Storage, Video). I see that this information is
present in /proc/pci, but my understanding is that /proc/pci is
obsolete. Any easy way to get this information?

Thanks,

Steven
sness@stormix.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/