dump more than 265 bytes PCI config SPACE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux