Re: /proc/pci design idea

Stephen Williams (
Fri, 12 Sep 1997 10:53:02 +0800 said:
> Maybe you should implement also a per-device text file containing the
> most important information (as present in current /proc/pci, but
> without id -> name translation).

I'm trying to get vendor/device names out of the kernel.

The boot messages would include string names for the classes and hex
dumps of the id number for tracking things down. Although putting the strings
in init is an interesting idea.

As for the format of information that the user-mode pretty printer gets,
the PCI configuration space layout is standard and stable. Version problems
won't be an issue and there are simply no suprises this way. Plus it may serve
other nifty purposes I haven't thought of.

Steve Williams

"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."