Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/audio audioprint(): handle AUDIODEV_TYPE_AUX.
details: https://anonhg.NetBSD.org/src/rev/981c2522df8f
branches: trunk
changeset: 378869:981c2522df8f
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Apr 26 19:59:58 2021 +0000
description:
audioprint(): handle AUDIODEV_TYPE_AUX.
diffstat:
sys/dev/audio/audio.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 3a28eca759c4 -r 981c2522df8f sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c Mon Apr 26 19:35:16 2021 +0000
+++ b/sys/dev/audio/audio.c Mon Apr 26 19:59:58 2021 +0000
@@ -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);
}
Home |
Main Index |
Thread Index |
Old Index