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 <berto@igalia.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20260128102548.224237-1-berto@igalia.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
Alberto Garcia
2026-01-28 11:25:46 +01:00
committed by Philippe Mathieu-Daudé
parent eda9baa17a
commit 7652e5556f
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;