Re: /proc/pci design idea

Harald Koenig (
Sat, 13 Sep 1997 08:15:25 +0200

On Sep 12, Martin Mares wrote:

> 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). Or maybe make the id -> name translation
> a configurable option (but mark all the names as initdata and re-allocate
> those corresponding to real devices).

no! the idea of /proc/pci is to get just this id -> name translation
out of the kernel into user space, so it can be updated independantly...

maybe having a generic /proc/pci device which just mapps all PCI buses' config spaces
linerly might be nice too, so that it's not needed to use directory operations
all the time to figure out which devices are around ?!


All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \                     ^^^^^       ^^^^^