[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/15] hw/scsi/megasas: Fix megasas_mmio_ops sizes
From: |
Richard Henderson |
Subject: |
[PATCH 11/15] hw/scsi/megasas: Fix megasas_mmio_ops sizes |
Date: |
Sat, 19 Jun 2021 10:26:22 -0700 |
All of the megasas mmio registers are 32-bit not 64-bit.
Cc: qemu-block@nongnu.org
Cc: Fam Zheng <fam@euphon.net>
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/scsi/megasas.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/scsi/megasas.c b/hw/scsi/megasas.c
index 8f2389d2c6..c98cb7a499 100644
--- a/hw/scsi/megasas.c
+++ b/hw/scsi/megasas.c
@@ -2163,8 +2163,8 @@ static const MemoryRegionOps megasas_mmio_ops = {
.write = megasas_mmio_write,
.endianness = DEVICE_LITTLE_ENDIAN,
.impl = {
- .min_access_size = 8,
- .max_access_size = 8,
+ .min_access_size = 4,
+ .max_access_size = 4,
}
};
--
2.25.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 11/15] hw/scsi/megasas: Fix megasas_mmio_ops sizes,
Richard Henderson <=