From: Helge Deller <deller@kernel.org>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <richard.henderson@linaro.org>,
Keith Monahan <keith@techtravels.org>,
Gerd Hoffmann <kraxel@redhat.com>, Helge Deller <deller@gmx.de>
Subject: [PATCH 4/4] hw/misc: Harmony sound registers now handled by harmony driver
Date: Wed, 28 Oct 2026 23:48:15 +0100 [thread overview]
Message-ID: <20261028224815.32502-5-deller@kernel.org> (raw)
In-Reply-To: <20261028224815.32502-1-deller@kernel.org>
From: Helge Deller <deller@gmx.de>
No need to handle the LASI AUDIO registers here.
Signed-off-by: Helge Deller <deller@gmx.de>
---
hw/misc/lasi.c | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/hw/misc/lasi.c b/hw/misc/lasi.c
index 76029804e1..d4ef832af1 100644
--- a/hw/misc/lasi.c
+++ b/hw/misc/lasi.c
@@ -86,13 +86,7 @@ static MemTxResult lasi_chip_read_with_attrs(void *opaque, hwaddr addr,
val = s->iar;
break;
- case LASI_AUDIO ... LASI_AUDIO + 0xFF:
- /*
- * Harmony audio not yet emulated. DIAG (0x3c) reports a running
- * sample clock, which HP-UX 9 checks before using the beeper.
- */
- val = (addr == LASI_AUDIO + 0x3c);
- break;
+ case LASI_AUDIO: /* handled by harmony audio driver */
case LASI_LPT:
case LASI_UART:
case LASI_LAN:
@@ -164,8 +158,8 @@ static MemTxResult lasi_chip_write_with_attrs(void *opaque, hwaddr addr,
case LASI_LPT:
/* XXX: reset parallel port */
break;
- case LASI_AUDIO ... LASI_AUDIO + 0xFF:
- /* XXX: Harmony audio is not emulated */
+ case LASI_AUDIO:
+ /* handled by harmony audio driver */
break;
case LASI_UART:
/* XXX: reset serial port */
--
2.54.0
prev parent reply other threads:[~2026-10-28 22:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 22:48 [PATCH 0/4] Harmony sound card driver for 32-bit PA-RISC machines Helge Deller
2026-10-28 22:48 ` [PATCH 1/4] hw/audio: Add HP Harmony audio (LASI audio function, CS4215/AD1849 codec) Helge Deller
2026-10-28 22:48 ` [PATCH 2/4] hw/audio: Wire up the harmony driver in meson and Kconfig Helge Deller
2026-10-28 22:48 ` [PATCH 3/4] hw/hppa: Add harmony sound card to HP 715 and B160L machines Helge Deller
2026-10-28 22:48 ` Helge Deller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261028224815.32502-5-deller@kernel.org \
--to=deller@kernel.org \
--cc=deller@gmx.de \
--cc=keith@techtravels.org \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.