9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] pci(8)
@ 2013-04-17 16:34 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2013-04-17 16:34 UTC (permalink / raw)
  To: 9fans

i needed a bit more than the script pci(8) could
give me, such as pci capability info. msi vector
info, &c.  here's the result.

http://www.quanstro.net/magic/man2html/8/pci

the code and executable is here

	srv $nflag -q tcp!atom.9atom.org atom &&
		mount $nflag /srv/atom /n/atom atom
	/n/atom/plan9/sys/src/9/pci/
	/n/atom/plan9/386/bin/pci

i think the standard kernels disallow anyone but the
host owner from reading the pci raw files, so changing
its mode to 644 is necessary for this to work.

- erik



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-17 16:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-17 16:34 [9fans] pci(8) erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).