// ntddscsi.h
typedef struct _NV_FEATURE_PARAMETER {
USHORT NVPowerModeEnabled;
USHORT NVParameterReserv1;
USHORT NVCmdEnabled;
USHORT NVParameterReserv2;
USHORT NVPowerModeVer;
USHORT NVCmdVer;
ULONG NVSize;
USHORT NVReadSpeed;
USHORT NVWrtSpeed;
ULONG DeviceSpinUpTime;
} NV_FEATURE_PARAMETER, *PNV_FEATURE_PARAMETER;
View the official Windows Driver Kit DDI referenceNo description available.
The NV_FEATURE_PARAMETER structure is used in conjunction with the IOCTL_SCSI_MINIPORT_NVCACHE request to get NV Cache Manager feature support information from the device. The NV Cache Manager feature parameters structure is returned by the miniport driver upon the successful return from the NRB_NVCACHE_INFO function, as requested in the Function field of the NVCACHE_REQUEST_BLOCK structure.
The values in these fields come from the IDENTIFY DEVICE command in section 7.16 of the ATA8-ACS specification.
NVPowerModeEnabledTaken from word 214, bit 0 of the IDENTIFY DEVICE data, a value of one means the NV Cache Power Mode feature set is enabled.
NVParameterReserv1Reserved for future use.
NVCmdEnabledTaken from word 214, bit 4 of the IDENTIFY DEVICE data, a value of one means the NV Cache feature set is enabled.
NVParameterReserv2Reserved for future use.
NVPowerModeVerTaken from word 214, bits 8 through 11 of the IDENTIFY DEVICE data, this field contains the NV Cache Power Mode feature set version.
NVCmdVerTaken from word 214, bits 12 through 15 of the IDENTIFY DEVICE data, this field contains the NV Cache feature set version.
NVSizeTaken from words 215 and 216 of the IDENTIFY DEVICE data, this field contains the NV Cache Size, in logical blocks.
NVReadSpeedTaken from word 217 of the IDENTIFY DEVICE data, this field contains the NV Cache Read Transfer Speed, in megabytes per second (MB/s).
NVWrtSpeedTaken from word 218 of the IDENTIFY DEVICE data, this field contains the NV Cache Write Transfer Speed, in megabytes per second (MB/s).
DeviceSpinUpTimeTaken from word 219, bits 0 through 7 of the IDENTIFY DEVICE data, this field contains the device's estimated time to spin up, in seconds.