Re: unkown PCI device

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Tue, 1 Dec 1998 12:53:48 +0100


Hello,

> You are right. But I like this /proc/pci-Interface because I can boot from a
> floppy disk without any driver to get a list of installed PCI-devices. That's
> way cool :)

You can just cat /proc/bus/pci/devices to get a list of IDs of your
PCI devices.

> Why are the /proc/bus/pci-entries binary? Probably because of efficiency but
> I really like to read values from /proc with cat...

You can `od' the files and do the same.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"A bug in the code is worth two in the documentation."

- 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/