Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa Allow aria(4) to compile with AUDIO_DEBUG on LP64.



details:   https://anonhg.NetBSD.org/src/rev/f3fe0e0d9d07
branches:  trunk
changeset: 756642:f3fe0e0d9d07
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Jul 27 05:38:18 2010 +0000

description:
Allow aria(4) to compile with AUDIO_DEBUG on LP64.

diffstat:

 sys/dev/isa/aria.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 2e1b6b3258c4 -r f3fe0e0d9d07 sys/dev/isa/aria.c
--- a/sys/dev/isa/aria.c        Tue Jul 27 05:29:05 2010 +0000
+++ b/sys/dev/isa/aria.c        Tue Jul 27 05:38:18 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aria.c,v 1.32 2009/10/27 23:04:41 elric Exp $  */
+/*     $NetBSD: aria.c,v 1.33 2010/07/27 05:38:18 jakllsch Exp $       */
 
 /*-
  * Copyright (c) 1995, 1996, 1998 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aria.c,v 1.32 2009/10/27 23:04:41 elric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aria.c,v 1.33 2010/07/27 05:38:18 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -415,7 +415,7 @@
        sc->sc_ih = isa_intr_establish(ia->ia_ic, ia->ia_irq[0].ir_irq,
            IST_EDGE, IPL_AUDIO, aria_intr, sc);
 
-       DPRINTF(("isa_intr_establish() returns (%x)\n", (unsigned) sc->sc_ih));
+       DPRINTF(("isa_intr_establish() returns (%p)\n", sc->sc_ih));
 
        i = aria_getdspmem(sc, ARIAA_HARDWARE_A);
 
@@ -1081,7 +1081,7 @@
        DPRINTF(("aria_intr\n"));
 
        if ((sc->sc_open & ARIAR_OPEN_PLAY) && (pdata!=NULL)) {
-               DPRINTF(("aria_intr play=(%x)\n", (unsigned) pdata));
+               DPRINTF(("aria_intr play=(%p)\n", pdata));
                address = 0x8000 - 2*(sc->sc_blocksize);
                address+= aria_getdspmem(sc, ARIAA_PLAY_FIFO_A);
                bus_space_write_2(iot, ioh, ARIADSP_DMAADDRESS, address);
@@ -1092,7 +1092,7 @@
        }
 
        if ((sc->sc_open & ARIAR_OPEN_RECORD) && (rdata!=NULL)) {
-               DPRINTF(("aria_intr record=(%x)\n", (unsigned) rdata));
+               DPRINTF(("aria_intr record=(%p)\n", rdata));
                address = 0x8000 - (sc->sc_blocksize);
                address+= aria_getdspmem(sc, ARIAA_REC_FIFO_A);
                bus_space_write_2(iot, ioh, ARIADSP_DMAADDRESS, address);



Home | Main Index | Thread Index | Old Index