Hmm, I don't think we have any kernel programming guru's around here. :'(Originally Posted by vivekr
But looking through the kernel docs I found this:
"5. Addresses and interrupts
Memory and port addresses and interrupt numbers should NOT be read from the config space. You should use the values in the pci_dev structure as they might have been remapped by the kernel."
This is from pci.txt in the kernel source documentation. Might want to take a glance at it and see if you find anything that helps you out.