diff --git a/sys/dev/isa/ess.c b/sys/dev/isa/ess.c index 6567a0125f09..0a8b8ebfb1ae 100644 --- a/sys/dev/isa/ess.c +++ b/sys/dev/isa/ess.c @@ -1,4 +1,4 @@ -/* $NetBSD: ess.c,v 1.87 2021/04/24 23:36:55 thorpej Exp $ */ +/* $NetBSD: ess.c,v 1.88 2021/04/26 19:10:38 thorpej Exp $ */ /* * Copyright 1997 @@ -66,7 +66,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ess.c,v 1.87 2021/04/24 23:36:55 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ess.c,v 1.88 2021/04/26 19:10:38 thorpej Exp $"); #include #include @@ -1045,7 +1045,9 @@ skip: arg.type = AUDIODEV_TYPE_OPL; arg.hwif = 0; arg.hdl = 0; - (void)config_found(sc->sc_dev, &arg, audioprint, CFARG_EOL); + (void)config_found(sc->sc_dev, &arg, audioprint, + CFARG_IATTR, "ess", + CFARG_EOL); #if NJOY_ESS > 0 if (sc->sc_model == ESS_1888 && enablejoy) { @@ -1056,7 +1058,9 @@ skip: ess_write_mix_reg(sc, 0x40, m40); arg.type = AUDIODEV_TYPE_AUX; - (void)config_found(sc->sc_dev, &arg, audioprint, CFARG_EOL); + (void)config_found(sc->sc_dev, &arg, audioprint, + CFARG_IATTR, "ess", + CFARG_EOL); } #endif diff --git a/sys/dev/isa/files.isa b/sys/dev/isa/files.isa index eb5dc06418dd..cbea7edcf594 100644 --- a/sys/dev/isa/files.isa +++ b/sys/dev/isa/files.isa @@ -1,4 +1,4 @@ -# $NetBSD: files.isa,v 1.176 2020/05/23 13:48:08 jmcneill Exp $ +# $NetBSD: files.isa,v 1.177 2021/04/26 19:10:38 thorpej Exp $ # # Config file and device description for machine-independent ISA code. # Included by ports that need it. Requires that the SCSI files be @@ -318,7 +318,7 @@ attach opl at wss with opl_wss file dev/isa/opl_wss.c opl_wss # ESS Technology ES1887/ES888/ES1888 -device ess { } : audiobus, isadma, midibus +device ess { }: audiobus, isadma file dev/isa/ess.c ess needs-flag attach ess at isa with ess_isa