From: Chris Friesen <cfriesen@nortelnetworks.com>
To: linux-kernel@vger.kernel.org
Subject: how to list pci devices from userpace? anything better than /proc/bus/pci/devices?
Date: Wed, 27 Nov 2002 16:24:12 -0500 [thread overview]
Message-ID: <3DE537FC.6090105@nortelnetworks.com> (raw)
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?
Thanks,
Chris
--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
next reply other threads:[~2002-11-27 21:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-27 21:24 Chris Friesen [this message]
2002-11-27 21:41 ` how to list pci devices from userpace? anything better than /proc/bus/pci/devices? 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
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=3DE537FC.6090105@nortelnetworks.com \
--to=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.