Requirements for Using Storport with an Adapter

In order to improve performance and enhance stability, Storport does not provide support for certain kinds of devices (mostly older devices with limited feature sets). In addition to degrading performance, support for these devices complicates the port driver, slowing down miniport driver development and testing.

The following list details the features that devices, adapters, and miniport drivers must all support, in order to function with Storport:

  • Bus-mastering DMA. Storport does not support either programmed I/O or subordinate-mode DMA.

  • Scatter/gather I/O. Miniport drivers must support at least 16 physical breaks in their scatter/gather list implementation. Miniport drivers that work with Storport should be able to support up to 255 physical breaks in the same manner as SCSI Port miniport drivers.

  • SCSI tagged queuing. The Storport driver will issue up to 254 requests per logical unit. SCSI Port miniport drivers that make use of the fact that SCSI Port never issued more than 254 requests per adapter must be modified to accept a much larger number of requests.

  • SCSI autorequest sense. Disabling is not supported.

  • Support for larger sense buffers. Miniport drivers that work with Storport must not be designed with fixed-size sense buffers in view. Miniport drivers must use the size passed in the SRB.

  • Plug and Play. Because miniport drivers that work with Storport must be enabled for Plug and Play, the port driver takes care of all shared resource acquisition and management.

  • Multi-Tier Resets. Adapters must support tiered resets. For more information, see Multi-Tier Reset in Storport.

  • RAID Adapters that expose virtual logical units are required to support SCSI Inquiry Vital Product Data pages 00h, 80h, and 83h. For example, a host-based RAID adapter must respond to a SCSI Inquiry command with Vital Product Data Page set to 01h for the following pages: 0 (supported vital product data pages), 80h (unit serial number page), and 83h (device identification page). These commands can be handled either by the adapter's firmware or synthesized in the miniport driver.