Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Move audio related definitions.
details: https://anonhg.NetBSD.org/src/rev/6b227d25f381
branches: trunk
changeset: 332838:6b227d25f381
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Oct 10 12:29:28 2014 +0000
description:
Move audio related definitions.
diffstat:
sys/conf/files | 29 +++--------------------------
sys/dev/files.audio | 27 +++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 26 deletions(-)
diffs (96 lines):
diff -r aff51ebdff41 -r 6b227d25f381 sys/conf/files
--- a/sys/conf/files Fri Oct 10 12:20:13 2014 +0000
+++ b/sys/conf/files Fri Oct 10 12:29:28 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files,v 1.1113 2014/10/10 12:20:13 uebayasi Exp $
+# $NetBSD: files,v 1.1114 2014/10/10 12:29:28 uebayasi Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
version 20141010
@@ -317,22 +317,7 @@
define pckbport_machdep_cnattach
define firmload
-# audio device attributes
-#
-define mulaw
-define auconv
-define aurateconv
-
-# audio and midi devices, attaches to audio hardware driver
-#
-device audio: audiodev
-attach audio at audiobus
-device midi
-attach midi at midibus
-
-# console bell via audio device
-#
-define audiobell
+include "dev/files.audio"
# Base verbose vendor/product printing support
file dev/dev_verbose.c
@@ -1496,10 +1481,6 @@
defflag opt_kern.h KERN
file compat/common/compat_mod.c compat_netbsd | compat_netbsd32
file conf/debugsyms.c
-file dev/auconv.c auconv | mulaw
-file dev/audio.c audio | midi | midibus needs-flag
-file dev/audiobell.c audiobell
-file dev/aurateconv.c aurateconv needs-flag
file dev/bio.c bio needs-flag
file dev/ccd.c ccd
file dev/cgd.c cgd
@@ -1517,11 +1498,7 @@
file dev/keylock.c keylock
file dev/lockstat.c lockstat needs-flag
file dev/md.c md
-file dev/midi.c midi | midibus needs-flag
-file dev/midictl.c midisyn
-file dev/midisyn.c midisyn
file dev/mm.c
-file dev/mulaw.c mulaw needs-flag
file dev/nullcons_subr.c nullcons needs-flag
file dev/radio.c radio needs-flag
file dev/rndpseudo.c rnd needs-flag
@@ -1554,7 +1531,7 @@
file kern/kern_core.c coredump
file kern/kern_cpu.c kern
file kern/kern_ctf.c kdtrace_hooks
-file kern/kern_descrip.c kern
+file kern/kern_descrip.c kern
file kern/kern_event.c kern
file kern/kern_exec.c kern
file kern/kern_exit.c kern
diff -r aff51ebdff41 -r 6b227d25f381 sys/dev/files.audio
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/dev/files.audio Fri Oct 10 12:29:28 2014 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: files.audio,v 1.1 2014/10/10 12:29:28 uebayasi Exp $
+
+# audio device attributes
+#
+define mulaw
+define auconv
+define aurateconv
+
+# audio and midi devices, attaches to audio hardware driver
+#
+device audio: audiodev
+attach audio at audiobus
+device midi
+attach midi at midibus
+
+# console bell via audio device
+#
+define audiobell
+
+file dev/auconv.c auconv | mulaw
+file dev/audio.c audio | midi | midibus needs-flag
+file dev/audiobell.c audiobell
+file dev/aurateconv.c aurateconv needs-flag
+file dev/midi.c midi | midibus needs-flag
+file dev/midictl.c midisyn
+file dev/midisyn.c midisyn
+file dev/mulaw.c mulaw needs-flag
Home |
Main Index |
Thread Index |
Old Index