Module Name:    src
Committed By:   thorpej
Date:           Mon Apr 26 19:59:58 UTC 2021

Modified Files:
        src/sys/dev/audio: audio.c

Log Message:
audioprint(): handle AUDIODEV_TYPE_AUX.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/audio/audio.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/audio/audio.c
diff -u src/sys/dev/audio/audio.c:1.93 src/sys/dev/audio/audio.c:1.94
--- src/sys/dev/audio/audio.c:1.93	Mon Apr 26 14:02:49 2021
+++ src/sys/dev/audio/audio.c	Mon Apr 26 19:59:58 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: audio.c,v 1.93 2021/04/26 14:02:49 thorpej Exp $	*/
+/*	$NetBSD: audio.c,v 1.94 2021/04/26 19:59:58 thorpej Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -138,7 +138,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.93 2021/04/26 14:02:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.94 2021/04/26 19:59:58 thorpej Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -8948,6 +8948,9 @@ audioprint(void *aux, const char *pnp)
 		case AUDIODEV_TYPE_MPU:
 			type = "mpu";
 			break;
+		case AUDIODEV_TYPE_AUX:
+			type = "aux";
+			break;
 		default:
 			panic("audioprint: unknown type %d", arg->type);
 		}

Reply via email to