aboutsummaryrefslogtreecommitdiff
path: root/hw/misc
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2021-03-11 10:05:01 +0000
committerLaurent Vivier <laurent@vivier.eu>2021-03-16 21:41:37 +0100
commitadd4dbfbfc426719d16bdfdc4e5be1a5138ceccd (patch)
treedada5d0eb013df17c69f6450480ffb3e2436f80b /hw/misc
parent9d39ec70f41450766cf1c41ad992706fd6507307 (diff)
downloadqemu-add4dbfbfc426719d16bdfdc4e5be1a5138ceccd.zip
qemu-add4dbfbfc426719d16bdfdc4e5be1a5138ceccd.tar.gz
qemu-add4dbfbfc426719d16bdfdc4e5be1a5138ceccd.tar.bz2
mac_via: allow long accesses to VIA registers
The MacOS SCSI driver uses a long access to read the VIA registers rather than just a single byte during the message out phase. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210311100505.22596-4-mark.cave-ayland@ilande.co.uk> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/misc')
-rw-r--r--hw/misc/mac_via.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/mac_via.c b/hw/misc/mac_via.c
index 0a25de5..8810eb9 100644
--- a/hw/misc/mac_via.c
+++ b/hw/misc/mac_via.c
@@ -966,7 +966,7 @@ static const MemoryRegionOps mos6522_q800_via1_ops = {
.endianness = DEVICE_BIG_ENDIAN,
.valid = {
.min_access_size = 1,
- .max_access_size = 1,
+ .max_access_size = 4,
},
};
@@ -995,7 +995,7 @@ static const MemoryRegionOps mos6522_q800_via2_ops = {
.endianness = DEVICE_BIG_ENDIAN,
.valid = {
.min_access_size = 1,
- .max_access_size = 1,
+ .max_access_size = 4,
},
};