OpenQNX :: The QNX Community Portal

Sep 09, 2010 - 03:03 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 14 unlogged users and 3 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Fregl
Post subject: how get vendor/device id if i know pci device index/bus/dev?  PostPosted: Feb 04, 2010 - 10:30 AM
Active Member


Joined: Jun 05, 2008
Posts: 42
Location: Ukraine
Hi. I want do my small device enumerator like enum-pci.
How i can get vendor/device id from program?
pseudcode:
pci_attach()
pci_find_class(...CLASS_VGA...) //found

found pci index/bus/dev_no/dev_func.
can i get vendor/device id for this device?
no functions in help found for such task...
 
 View user's profile Send private message ICQ Number 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.