Module Name: src Committed By: pgoyette Date: Sat Dec 10 00:39:40 UTC 2016
Modified Files: src/distrib/sets/lists/modules: mi src/sys/modules: Makefile Added Files: src/sys/modules/spkr_synth: spkr_synth.ioconf Log Message: Create a new module for the synthesized speaker(4). XXX Device module autoload (invoked when the /dev/speaker is opened, and XXX no driver exists) will not find this module. On i386 and amd64, the XXX autoload will find the spkr module (spkr0 at pcppi0) and that module XXX will be autoloaded. For other architectures, either include the XXX "spkr0 at audio0" in your config file, or manually load this new XXX spkr_synth module using modload(8). To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/distrib/sets/lists/modules/mi cvs rdiff -u -r1.185 -r1.186 src/sys/modules/Makefile cvs rdiff -u -r0 -r1.1 src/sys/modules/spkr_synth/spkr_synth.ioconf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/lists/modules/mi diff -u src/distrib/sets/lists/modules/mi:1.101 src/distrib/sets/lists/modules/mi:1.102 --- src/distrib/sets/lists/modules/mi:1.101 Wed Nov 16 00:50:12 2016 +++ src/distrib/sets/lists/modules/mi Sat Dec 10 00:39:40 2016 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.101 2016/11/16 00:50:12 pgoyette Exp $ +# $NetBSD: mi,v 1.102 2016/12/10 00:39:40 pgoyette Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -314,6 +314,8 @@ ./@MODULEDIR@/smbfs/smbfs.kmod base-kernel-modules kmod ./@MODULEDIR@/solaris base-kernel-modules kmod,solaris ./@MODULEDIR@/solaris/solaris.kmod base-kernel-modules kmod,solaris +./@MODULEDIR@/spkr_synth base-kernel-modules kmod +./@MODULEDIR@/spkr_synth/spkr_synth.kmod base-kernel-modules kmod ./@MODULEDIR@/spdmem base-kernel-modules kmod ./@MODULEDIR@/spdmem/spdmem.kmod base-kernel-modules kmod ./@MODULEDIR@/sppp_subr base-kernel-modules kmod Index: src/sys/modules/Makefile diff -u src/sys/modules/Makefile:1.185 src/sys/modules/Makefile:1.186 --- src/sys/modules/Makefile:1.185 Thu Dec 8 23:22:18 2016 +++ src/sys/modules/Makefile Sat Dec 10 00:39:40 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.185 2016/12/08 23:22:18 nat Exp $ +# $NetBSD: Makefile,v 1.186 2016/12/10 00:39:40 pgoyette Exp $ .include <bsd.own.mk> @@ -116,6 +116,7 @@ SUBDIR+= skipjack SUBDIR+= slcompress SUBDIR+= smbfs SUBDIR+= spdmem +SUBDIR+= spkr_synth SUBDIR+= sppp_subr SUBDIR+= sysmon SUBDIR+= sysmon_envsys Added files: Index: src/sys/modules/spkr_synth/spkr_synth.ioconf diff -u /dev/null src/sys/modules/spkr_synth/spkr_synth.ioconf:1.1 --- /dev/null Sat Dec 10 00:39:40 2016 +++ src/sys/modules/spkr_synth/spkr_synth.ioconf Sat Dec 10 00:39:40 2016 @@ -0,0 +1,10 @@ +# $NetBSD: spkr_synth.ioconf,v 1.1 2016/12/10 00:39:40 pgoyette Exp $ + +ioconf spkr + +include "conf/files" +include "conf/files.audio" + +pseudo-root audio* + +spkr* at audio?