lkml.org 
[lkml]   [1997]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: /proc/pci design idea
Date
Stephen Williams wrote:
> Each of the files there is the configuration space for the device with the
> given bus/slot number.

Hmm, if it's two digits for each, maybe a separator should be between
them so that people don't think this is a single 16 bit space.

> then will start in on the usr mode program that does the pretty printing.

One suggestion: it would be nice to have the actual translation data in a
directory with plain text files (/lib/pci ?). This way, packages with new
drivers can add the names cleanly without needing to "upgrade" the pretty
printer executable.

Someone complained about the files being binary. An idea just crossed my
mind: you could make the files executable and add a new executable format
handler for the pretty printer.

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, DI-LRC,EPFL,CH werner.almesberger@lrc.di.epfl.ch /
/_IN_R_133__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/
\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site