So I'm thinking of turning /proc/pci into the directory /proc/pcibus
with subdirectories xx (bus number) and yy under that for a device.
i.e. /proc/pcibus/01/40 identifies a specific device on bus 1, dev_fn 0x40.
That file would contain the 256byte configuration space for the device.
A user-mode program would interpret the bytes to make a pretty display,
if such a thing is desired. (Such a thing is desired by me:-)
I'm starting with a 2.1.55 kernel and I can probably have it working in a
few days.
-- Steve Williams steve@icarus.com steve@picturel.com"The woods are lovely, dark and deep. But I have promises to keep, And lines to code before I sleep, And lines to code before I sleep."