flat assembler
Message board for the users of flat assembler.

Index > OS Construction > How to find Bus and Device number from device id

Author
Thread Post new topic Reply to topic
BOTOKILLER



Joined: 07 Jan 2011
Posts: 154
Location: Ukraine
BOTOKILLER
Hi everyone!
I have vendor ID and device ID of a device(PCI configuration space), and I need to find bus and device number using that values. How to do it?
Post 16 Mar 2011, 17:09
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
it is the opposite way.
first check the pci bus for IDs, and then, have the ID of your hardware.

if you still have the ID, just compare with the list returned by PCI id
Post 16 Mar 2011, 18:39
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.