Re: new /proc/pci stuff

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Tue, 27 Jan 1998 18:18:24 +0100 (CET)


On Tue, 27 Jan 1998, Krzysztof G. Baranowski wrote:
> What it is all about ?
> What do I need to read the data ?
>
> [root@manjak /root]# cat /proc/pci
> cat: /proc/pci: Bad file descriptor
>
> [root@manjak /root]# grep PCI /usr/src/linux/.config
> CONFIG_PCI=y
> CONFIG_PCI_BIOS=y
> CONFIG_PCI_DIRECT=y
> CONFIG_PCI_OPTIMIZE=y
> # CONFIG_PCI_OLD_PROC is not set
^^^^^^^^^^^^^^^^^^^
> CONFIG_BLK_DEV_IDEPCI=y

/proc/pci is only available if you enable CONFIG_PCI_OLD_PROC. It's being
obsoleted by the new /proc/bus/pci.

To use /proc/bus/pci, you may want to install Martin Mares' pciutils (announced
earlier today):

ftp://atrey.karlin.mff.cuni.cz/pub/local/mj/linux/pciutils-0.91.tar.gz
ftp://sunsite.unc.edu/pub/Linux/system/hardware/pciutils-0.91.tar.gz

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium