| Author |
Message |
|
|
Post subject: how get vendor/device id if i know pci device index/bus/dev?
Posted: 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... |
|
|
| |
|
|
|
 |
|
|
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group Credits |
|
|