All of lore.kernel.org
 help / color / mirror / Atom feed
* how to list pci devices from userpace?  anything better than /proc/bus/pci/devices?
@ 2002-11-27 21:24 Chris Friesen
  2002-11-27 21:41 ` Richard B. Johnson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chris Friesen @ 2002-11-27 21:24 UTC (permalink / raw)
  To: linux-kernel


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-11-28 16:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-11-28  9:18 ` Thierry Vignaud

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.