Re: /proc/pci, lspci etc.

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Mon, 30 Nov 1998 21:23:58 +0100 (CET)


On Mon, 30 Nov 1998, Tigran Aivazian wrote:
> I saw people arguing about removing /proc/pci and would like to remind of
> one simple point why /proc/pci is a good thing. There is no doubt that
> lspci utility (part of the wonderful pciutils package by Martin Mares) is
> far superiour to anything else (i.e. /proc/pci and scanpci) for examining
> PCI configuration space. However, when you are installing a new system you
> do not usually have lspci available, but /proc/pci is always there.
>
> Yes, you can argue that Linux distributors should include it on their boot
> disks etc. but this being "taste-specific" will lead to nowhere, except
> plenty of headache for everyone.
>
> So, imho, although /proc/pci should be obsoleted by much better lspci this
> should not happen until one ensures that lspci can be used in *ALL*
> situations instead, including installation process itself.

Ever tried `cat /proc/bus/pci/devices'?

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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/