From: Thierry Vignaud <tvignaud@mandrakesoft.com>
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: Thu, 28 Nov 2002 10:18:23 +0100 [thread overview]
Message-ID: <m2r8d6aw80.fsf@vador.mandrakesoft.com> (raw)
In-Reply-To: <3DE537FC.6090105@nortelnetworks.com> (Chris Friesen's message of "Wed, 27 Nov 2002 16:24:12 -0500")
Chris Friesen <cfriesen@nortelnetworks.com> writes:
> 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?
look at libldetect from ldetect package.
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/ldetect/
prev parent reply other threads:[~2002-11-28 9:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-27 21:24 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
2002-11-28 9:18 ` Thierry Vignaud [this message]
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=m2r8d6aw80.fsf@vador.mandrakesoft.com \
--to=tvignaud@mandrakesoft.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®