Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Be explicit about using the "ym" interface attri...
details: https://anonhg.NetBSD.org/src/rev/446a2673b24a
branches: trunk
changeset: 982804:446a2673b24a
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Apr 26 19:22:14 2021 +0000
description:
Be explicit about using the "ym" interface attribute when attaching
the "opl" and "mpu" instances.
diffstat:
sys/dev/isa/ym.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 5e2efc17407f -r 446a2673b24a sys/dev/isa/ym.c
--- a/sys/dev/isa/ym.c Mon Apr 26 19:21:55 2021 +0000
+++ b/sys/dev/isa/ym.c Mon Apr 26 19:22:14 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ym.c,v 1.48 2021/04/24 23:36:55 thorpej Exp $ */
+/* $NetBSD: ym.c,v 1.49 2021/04/26 19:22:14 thorpej Exp $ */
/*-
* Copyright (c) 1999-2002, 2008 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ym.c,v 1.48 2021/04/24 23:36:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ym.c,v 1.49 2021/04/26 19:22:14 thorpej Exp $");
#include "mpu_ym.h"
#include "opt_ym.h"
@@ -258,7 +258,9 @@
arg.type = AUDIODEV_TYPE_OPL;
arg.hwif = 0;
arg.hdl = 0;
- (void)config_found(ac->sc_dev, &arg, audioprint, CFARG_EOL);
+ (void)config_found(ac->sc_dev, &arg, audioprint,
+ CFARG_IATTR, "ym",
+ CFARG_EOL);
}
#if NMPU_YM > 0
@@ -268,6 +270,7 @@
arg.hwif = 0;
arg.hdl = 0;
sc->sc_mpudev = config_found(ac->sc_dev, &arg, audioprint,
+ CFARG_IATTR, "ym",
CFARG_EOL);
}
#endif
Home |
Main Index |
Thread Index |
Old Index