Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Create a new module for the synthesized speaker(4).
details: https://anonhg.NetBSD.org/src/rev/03a6b28416f8
branches: trunk
changeset: 819541:03a6b28416f8
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Dec 10 00:39:40 2016 +0000
description:
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).
diffstat:
distrib/sets/lists/modules/mi | 4 +++-
sys/modules/Makefile | 3 ++-
sys/modules/spkr_synth/spkr_synth.ioconf | 10 ++++++++++
3 files changed, 15 insertions(+), 2 deletions(-)
diffs (49 lines):
diff -r e1b3522a8d0b -r 03a6b28416f8 distrib/sets/lists/modules/mi
--- a/distrib/sets/lists/modules/mi Fri Dec 09 22:56:21 2016 +0000
+++ b/distrib/sets/lists/modules/mi Sat Dec 10 00:39:40 2016 +0000
@@ -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
diff -r e1b3522a8d0b -r 03a6b28416f8 sys/modules/Makefile
--- a/sys/modules/Makefile Fri Dec 09 22:56:21 2016 +0000
+++ b/sys/modules/Makefile Sat Dec 10 00:39:40 2016 +0000
@@ -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+= slcompress
SUBDIR+= smbfs
SUBDIR+= spdmem
+SUBDIR+= spkr_synth
SUBDIR+= sppp_subr
SUBDIR+= sysmon
SUBDIR+= sysmon_envsys
diff -r e1b3522a8d0b -r 03a6b28416f8 sys/modules/spkr_synth/spkr_synth.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/spkr_synth/spkr_synth.ioconf Sat Dec 10 00:39:40 2016 +0000
@@ -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?
Home |
Main Index |
Thread Index |
Old Index