[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/7] mac_via: allow long accesses to VIA registers
From: |
Mark Cave-Ayland |
Subject: |
[PATCH v2 3/7] mac_via: allow long accesses to VIA registers |
Date: |
Thu, 11 Mar 2021 10:05:01 +0000 |
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>
---
hw/misc/mac_via.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/misc/mac_via.c b/hw/misc/mac_via.c
index 0f6586e102..f38d6e2f6e 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,
},
};
--
2.20.1
- [PATCH v2 0/7] mac_via: fixes and improvements, Mark Cave-Ayland, 2021/03/11
- [PATCH v2 1/7] mac_via: switch rtc pram trace-events to use hex rather than decimal for addresses, Mark Cave-Ayland, 2021/03/11
- [PATCH v2 2/7] mac_via: fix up adb_via_receive() trace events, Mark Cave-Ayland, 2021/03/11
- [PATCH v2 3/7] mac_via: allow long accesses to VIA registers,
Mark Cave-Ayland <=
- [PATCH v2 4/7] mac_via: don't re-inject ADB response when switching to IDLE state, Mark Cave-Ayland, 2021/03/11
- [PATCH v2 5/7] mac_via: rename VBL timer to 60Hz timer, Mark Cave-Ayland, 2021/03/11
- [PATCH v2 6/7] mac_via: fix 60Hz VIA1 timer interval, Mark Cave-Ayland, 2021/03/11
- [PATCH v2 7/7] mac_via: remove VIA1 timer optimisations, Mark Cave-Ayland, 2021/03/11
- Re: [PATCH v2 0/7] mac_via: fixes and improvements, Laurent Vivier, 2021/03/16