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>
This commit is contained in:
		
							parent
							
								
									9d39ec70f4
								
							
						
					
					
						commit
						add4dbfbfc
					
				@ -966,7 +966,7 @@ static const MemoryRegionOps mos6522_q800_via1_ops = {
 | 
				
			|||||||
    .endianness = DEVICE_BIG_ENDIAN,
 | 
					    .endianness = DEVICE_BIG_ENDIAN,
 | 
				
			||||||
    .valid = {
 | 
					    .valid = {
 | 
				
			||||||
        .min_access_size = 1,
 | 
					        .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,
 | 
					    .endianness = DEVICE_BIG_ENDIAN,
 | 
				
			||||||
    .valid = {
 | 
					    .valid = {
 | 
				
			||||||
        .min_access_size = 1,
 | 
					        .min_access_size = 1,
 | 
				
			||||||
        .max_access_size = 1,
 | 
					        .max_access_size = 4,
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user