ScsiPortReadRegisterBufferUshort

VOID
    ScsiPortReadRegisterBufferUshort(

        IN PUSHORT  Register,
        IN PUSHORT  Buffer,
        IN ULONG  Count
        );

ScsiPortReadRegisterBufferUshort transfers a specified number of USHORT values from the HBA to a buffer.

Parameters

Register
Points to the register. The given Register must be in a mapped memory-space range returned by ScsiPortGetDeviceBase.
Buffer
Points to the buffer.
Count
Specifies the number of USHORT values to be read from the HBA.

Comments

ScsiPortReadRegisterBufferUshort ensures that the data has been transferred correctly.

See Also

ScsiPortGetDeviceBase