From: Helge Deller <[email protected]>

No need to handle the LASI AUDIO registers here.

Signed-off-by: Helge Deller <[email protected]>
---
 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


Reply via email to