diff options
| author | thorpej <thorpej@NetBSD.org> | 2021-04-26 19:59:58 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2021-04-26 19:59:58 +0000 |
| commit | ed26ef83669d25c62b033add59e543b105cc6394 (patch) | |
| tree | ed9f1aae7ca8c36377f27bd85df94ffd97f399eb /sys/dev | |
| parent | 78b5b748ac58958e7284f8ab3a28aa77a2220849 (diff) | |
audioprint(): handle AUDIODEV_TYPE_AUX.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/audio/audio.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/audio/audio.c b/sys/dev/audio/audio.c index b4b9bbb9353..ef3ea477c17 100644 --- a/sys/dev/audio/audio.c +++ b/sys/dev/audio/audio.c @@ -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); } |
