Storage Class Driver's General Functionality

To a storage port driver, a storage class driver is a higher-level driver with built-in, device-type-specific functionality. In general, every storage class driver is responsible for the following:

  • Claiming each device represented by a physical device object (PDO) passed to its AddDevice routine by the PnP manager

  • For each such PDO, creating a functional device object (FDO) and attaching it to the device stack

  • If the driver controls a partitionable device, creating physical device objects (PDOs) to represent each partition and responding to enumeration requests

  • Interpreting system I/O requests (IRPs)

  • Mapping IRPs to SCSI class/port interface requests (SRBs with SCSI CDBs)

  • Establishing time-out values for requests

  • Limiting the size of data transfers to suit the limits of the underlying HBA

  • Handling error conditions that are not already handled by the storage port driver, such as check-condition status or bus resets

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft