none
Mandatory Public IOCTL for miniport (storport driver) RRS feed

  • Question

  • Hi,

    I am implementing a storport miniport driver.

    Are there any mandatory IOCTL support for storport miniport driver ?

    I am getting below IOCTL's from OS : 

    1.  IOCTL_SCSI_MINIPORT_FIRMWARE

    2.  IOCTL_STORAGE_QUERY_PROPERTY

    3. IOCTL_SCSI_MINIPORT_HYBRID


    Do I need to implement all of them ?

    Currently I can see the device online in PORT , but OS is not creating disk for it . 

    Other SCSI commands (like inquiry , report Lun ...etc)  and Resets by OS are passing correctly .

    So I suspected those IOCTL's .  

    Any information would be useful.

    Thanks & Regards,

    Mohit Gahlyan

    Monday, January 14, 2019 5:12 AM

Answers

  • I haven't implemented a STORPORT since Windows 8, but I never did any direct IOCTL support.  IOCTL's should mainly be handled by port driver code of the STORPORT, which the OS provides.   I suspect that you are not setting up some of the initialization structures correctly, or are not providing all the support functions required.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, January 14, 2019 12:52 PM

All replies

  • I haven't implemented a STORPORT since Windows 8, but I never did any direct IOCTL support.  IOCTL's should mainly be handled by port driver code of the STORPORT, which the OS provides.   I suspect that you are not setting up some of the initialization structures correctly, or are not providing all the support functions required.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Monday, January 14, 2019 12:52 PM
  • Thanks Don for quick reply.

    Your answer is useful for me . Otherwise I was spending time in implementing IOCTL's. 

    Now I can start looking in correct direction.

    Regards,

    Mohit Gahlyan

    Wednesday, January 16, 2019 5:06 AM