lkml.org 
[lkml]   [1998]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: unkown PCI device
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/

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