[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/9] mac_via: update comment for VIA1B_vMystery bit
From: |
Laurent Vivier |
Subject: |
[PULL 1/9] mac_via: update comment for VIA1B_vMystery bit |
Date: |
Fri, 22 Oct 2021 09:16:57 +0200 |
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
According to both Linux and NetBSD, port B bit 6 is used on the Quadra 800 to
configure the GLUE logic in A/UX mode. Whilst the name VIA1B_vMystery isn't
particularly descriptive, the patch leaves this to ensure that the constants
in mac_via.c remain in sync with Linux's mac_via.h.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211020134131.4392-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
hw/misc/mac_via.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/misc/mac_via.c b/hw/misc/mac_via.c
index 993bac017db8..7a53a8b4c04d 100644
--- a/hw/misc/mac_via.c
+++ b/hw/misc/mac_via.c
@@ -130,6 +130,10 @@
* On SE/30, vertical sync interrupt enable.
* 0=enabled. This vSync interrupt shows up
* as a slot $E interrupt.
+ * On Quadra 800 this bit toggles A/UX mode
which
+ * configures the glue logic to deliver some
IRQs
+ * at different levels compared to a classic
+ * Mac.
*/
#define VIA1B_vADBS2 0x20 /* ADB state input bit 1 (unused on IIfx) */
#define VIA1B_vADBS1 0x10 /* ADB state input bit 0 (unused on IIfx) */
--
2.31.1
- [PULL 0/9] Q800 patches, Laurent Vivier, 2021/10/22
- [PULL 3/9] q800: use GLUE IRQ numbers instead of IRQ level for GLUE IRQs, Laurent Vivier, 2021/10/22
- [PULL 4/9] mac_via: add GPIO for A/UX mode, Laurent Vivier, 2021/10/22
- [PULL 2/9] q800: move VIA1 IRQ from level 1 to level 6, Laurent Vivier, 2021/10/22
- [PULL 1/9] mac_via: update comment for VIA1B_vMystery bit,
Laurent Vivier <=
- [PULL 5/9] q800: wire up auxmode GPIO to GLUE, Laurent Vivier, 2021/10/22
- [PULL 7/9] q800: wire up remaining IRQs in classic mode, Laurent Vivier, 2021/10/22
- [PULL 6/9] q800: route SONIC on-board Ethernet IRQ via nubus IRQ 9 in classic mode, Laurent Vivier, 2021/10/22
- [PULL 9/9] q800: drop 8-bit graphic_depth check for Apple 21 inch display, Laurent Vivier, 2021/10/22
- [PULL 8/9] q800: add NMI handler, Laurent Vivier, 2021/10/22
- Re: [PULL 0/9] Q800 patches, Richard Henderson, 2021/10/22