I have a NIC, and its config space is from 0x0 through 0x12b. Those locations hold registers. Beyond 0x12b, access can be made but the values returned on reads is not defined. I tried to use (lspci -xxxx) tool to dump the whole config space, but end up only got 256 bytes. I downloaded the 3.1.6 source and tried to make changes dump more than 256. But so far, I am not able to make it happen. My problem is that I couldn't find where X->methods->read(d, pos, buf, len) was defined and it returned 0 beyond 256.
I am wondering if anyone here has done this before, or can provide suggestions/ideas to help me with this.
Thanks, Joyce -- -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html