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 "wss" interface attr...



details:   https://anonhg.NetBSD.org/src/rev/5e2efc17407f
branches:  trunk
changeset: 982803:5e2efc17407f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Apr 26 19:21:55 2021 +0000

description:
Be explicit about using the "wss" interface attribute when attaching
the "opl" instance.

diffstat:

 sys/dev/isa/wss.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 62549614918c -r 5e2efc17407f sys/dev/isa/wss.c
--- a/sys/dev/isa/wss.c Mon Apr 26 19:10:38 2021 +0000
+++ b/sys/dev/isa/wss.c Mon Apr 26 19:21:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wss.c,v 1.75 2021/04/24 23:36:55 thorpej Exp $ */
+/*     $NetBSD: wss.c,v 1.76 2021/04/26 19:21:55 thorpej Exp $ */
 
 /*
  * Copyright (c) 1994 John Brezak
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wss.c,v 1.75 2021/04/24 23:36:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wss.c,v 1.76 2021/04/26 19:21:55 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -161,7 +161,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, "wss",
+                   CFARG_EOL);
        }
 }
 



Home | Main Index | Thread Index | Old Index