From: Dave Jones <davej@codemonkey.org.uk>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how to list pci devices from userpace? anything better than /proc/bus/pci/devices?
Date: Wed, 27 Nov 2002 21:47:24 +0000 [thread overview]
Message-ID: <20021127214724.GA31850@suse.de> (raw)
In-Reply-To: <3DE537FC.6090105@nortelnetworks.com>
On Wed, Nov 27, 2002 at 04:24:12PM -0500, Chris Friesen wrote:
>
> I have a situation where the userspace app needs to be able to deal with
> two different models of hardware, each of which uses a slightly
> different api.
>
> Is there any way that I can query the pci vendor/device numbers without
> having to parse ascii files in /proc?
See pcilib. Part of pciutils. (Its on freshmeat)
Dave
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
next prev parent reply other threads:[~2002-11-27 21:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-27 21:24 how to list pci devices from userpace? anything better than /proc/bus/pci/devices? Chris Friesen
2002-11-27 21:41 ` Richard B. Johnson
2002-11-27 21:49 ` Jan-Benedict Glaw
2002-11-27 21:54 ` Martin Mares
2002-11-28 16:37 ` Alan Cox
2002-11-27 21:47 ` Dave Jones [this message]
2002-11-28 9:18 ` Thierry Vignaud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021127214724.GA31850@suse.de \
--to=davej@codemonkey.org.uk \
--cc=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.