Module Name:    src
Committed By:   jakllsch
Date:           Tue Jul 27 05:38:18 UTC 2010

Modified Files:
        src/sys/dev/isa: aria.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/isa/aria.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/isa/aria.c
diff -u src/sys/dev/isa/aria.c:1.32 src/sys/dev/isa/aria.c:1.33
--- src/sys/dev/isa/aria.c:1.32	Tue Oct 27 23:04:41 2009
+++ src/sys/dev/isa/aria.c	Tue Jul 27 05:38:18 2010
@@ -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);

Reply via email to