diff options
| author | thorpej <thorpej@NetBSD.org> | 2021-04-26 19:21:55 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2021-04-26 19:21:55 +0000 |
| commit | 7b1bbcd221cbb578658e798d5bf6654b31b1b25c (patch) | |
| tree | d04cb5d34315cc8817819d330efd5d2fda5adc85 /sys/dev | |
| parent | 75d52cb7c31afd081793888979504b2240de6f8b (diff) | |
Be explicit about using the "wss" interface attribute when attaching
the "opl" instance.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/isa/wss.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/isa/wss.c b/sys/dev/isa/wss.c index 05bc5003b6f..33cf27710bf 100644 --- a/sys/dev/isa/wss.c +++ b/sys/dev/isa/wss.c @@ -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 @@ wssattach(struct wss_softc *sc) 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); } } |
