hw/ide, scsi-disk: Fix typo on the rotation_rate documentation
PATCH 1/1 hw/ide, scsi-disk: Fix typo on the rotation_rate documentation
Correct values according to the Medium Rotation Rate field from the Block Device Characteristics VPD page (B1h) of the SCSI specification.
Signed-off-by Alberto Garcia <[email protected]>
--- hw/scsi/scsi-disk.c | 2 +- include/hw/ide/ide-dev.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
hw/scsi/scsi-disk.c +1 -1
@@ -117,7 +117,7 @@ struct SCSIDiskState {* 0x0000 - rotation rate not reported * 0x0001 - non-rotating medium (SSD) * 0x0002-0x0400 - reserved -* 0x0401-0xffe - rotations per minute +* 0x0401-0xfffe - rotations per minute * 0xffff - reserved */ uint16_t rotation_rate;
include/hw/ide/ide-dev.h +1 -1
@@ -160,7 +160,7 @@ struct IDEDevice {* 0x0000 - rotation rate not reported * 0x0001 - non-rotating medium (SSD) * 0x0002-0x0400 - reserved -* 0x0401-0xffe - rotations per minute +* 0x0401-0xfffe - rotations per minute * 0xffff - reserved */ uint16_t rotation_rate;
Signature · 1 line
2.47.3
Quoted 8 lines · Alberto Garcia
Correct values according to the Medium Rotation Rate field from the Block Device Characteristics VPD page (B1h) of the SCSI specification.
Signed-off-by Alberto Garcia <[email protected]>--- hw/scsi/scsi-disk.c | 2 +- include/hw/ide/ide-dev.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>