Module Name:    src
Committed By:   jmcneill
Date:           Tue Sep  1 21:48:03 UTC 2009

Modified Files:
        src/sys/dev/ic: opl.c

Log Message:
aprint-ify


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/opl.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/ic/opl.c
diff -u src/sys/dev/ic/opl.c:1.36 src/sys/dev/ic/opl.c:1.37
--- src/sys/dev/ic/opl.c:1.36	Sat Mar 14 21:04:20 2009
+++ src/sys/dev/ic/opl.c	Tue Sep  1 21:48:02 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: opl.c,v 1.36 2009/03/14 21:04:20 dsl Exp $	*/
+/*	$NetBSD: opl.c,v 1.37 2009/09/01 21:48:02 jmcneill Exp $	*/
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: opl.c,v 1.36 2009/03/14 21:04:20 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: opl.c,v 1.37 2009/09/01 21:48:02 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -160,7 +160,7 @@
 
 	opl_reset(sc);
 
-	printf(": model OPL%d", sc->model);
+	aprint_normal(": model OPL%d", sc->model);
 
 	/* Set up panpot */
 	sc->panl = OPL_VOICE_TO_LEFT;
@@ -169,10 +169,11 @@
 	    device_cfdata(sc->mididev.dev)->cf_flags & OPL_FLAGS_SWAP_LR) {
 		sc->panl = OPL_VOICE_TO_RIGHT;
 		sc->panr = OPL_VOICE_TO_LEFT;
-		printf(": LR swapped");
+		aprint_normal(": LR swapped");
 	}
 
-	printf("\n");
+	aprint_normal("\n");
+	aprint_naive("\n");
 
 	sc->sc_mididev =
 	    midi_attach_mi(&midisyn_hw_if, &sc->syn, sc->mididev.dev);

Reply via email to