OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 10:36 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: pci problem
PostPosted: Sat Jan 17, 2015 5:20 pm 
Offline

Joined: Wed Aug 13, 2014 11:04 am
Posts: 14
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?


Top
 Profile  
 
 Post subject: Re: pci problem
PostPosted: Sat Jan 17, 2015 8:05 pm 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 44 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group