lkml.org 
[lkml]   [1998]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: new /proc/pci stuff
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



\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.066 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site