Query on SD driver stack

Hi,

I’ve a PCIe based SD controller in my system with Windows 8. I would like to trace (basically log) the SD commands issued to my SD card. Based on my understanding on the SD stack i’ve the following queries here.

  1. MSDN documentation says sffdisk.sys (class driver) and sffp_sd.sys (stor miniport driver) will be load when a SD card is connected. But i’m seeing sdstor.sys in my system. Does the old ones (sffdisk.sys & sffp_sd.sys) are replaced?

  2. Sd bus driver interacts with the SD device driver through direct call interface (SdBusSubmitRequest). In this case, is there a way to capture the SD commands send by SD device driver to SD bus driver? Does WPP event tracing/debug build SD dev. driver/anything will help?

Any valuable suggestions are really appreciated.

Regards,
Kumar

SDBUS_INTERFACE_STANDARD structure contains direct call API’s for ONLY “PSDBUS_INITIALIZE_INTERFACE_ROUTINE InitializeInterface” and “PSDBUS_ACKNOWLEDGE_INT_ROUTINE AcknowledgeInterrupt”.

So does SdBusSubmitRequest in SDBus.lib send IRP request to SD Bus driver?