Hi,
I am writing a storport miniport driver for a pcie device. The device operates in MSI-X mode.
-
I use StorPortGetBusData to read the pci configuration space including the extended capabilities. I see correct data in pci trace but the same data is not copied into the buffer which I have provided in the call to StorPortGetBusData.
-
When writing into particular offset using StorPortSetBusDataByOffset in pci configuration space, the write is not successful. This is particularly for InterruptLine register. For other registers/offsets(RW), it is successful.
I have read about the method to read/write using IRP_MN_WRITE_CONFIG/ IRP_MN_READ_CONFIG.
http://msdn.microsoft.com/en-us/library/windows/hardware/ff558707(v=vs.85).aspx
How can I solve the above issues at storport miniport level?
Any help is highly appreciated.
Regards,
Amogha