pci problem

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
aliceinchains
Posts: 14
Joined: Wed Aug 13, 2014 11:04 am

pci problem

Post by aliceinchains »

yeah so I brute enumerate pci devices 0-255 bus 0-31 device 0-7 function for vendor id and every single one returns 0xffff I also xor the register each and every time so im wondering is a machine from 2013 using pci? i tested in 16bit real mode is that the problem?
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: pci problem

Post by Brendan »

Hi,
aliceinchains wrote:yeah so I brute enumerate pci devices 0-255 bus 0-31 device 0-7 function for vendor id and every single one returns 0xffff I also xor the register each and every time so im wondering is a machine from 2013 using pci?
It's extremely unlikely that an 80x86 machine from 2013 doesn't use PCI. We started shifting to PCI in about 1992 and nothing has replaced PCI since (more correctly, later versions of PCI have replaced previous versions of PCI, but each version has been mostly backward compatible).
aliceinchains wrote:i tested in 16bit real mode is that the problem?
No.

Far more likely is that your code just has a bug (e.g. using the wrong IO port or something).


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Post Reply