diff options
author | jkh <jkh@FreeBSD.org> | 1993-10-23 10:58:51 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1993-10-23 10:58:51 +0000 |
commit | b5012e4cab69b3a828bbf9d9152cc47c1c4735cb (patch) | |
tree | 9008a750fb8f4801af456905e5004f36ab2b108b | |
parent | 6fff94e5f07f0d167d9ddbd386e366596f36081a (diff) | |
download | FreeBSD-src-b5012e4cab69b3a828bbf9d9152cc47c1c4735cb.zip FreeBSD-src-b5012e4cab69b3a828bbf9d9152cc47c1c4735cb.tar.gz |
New snd*) target for making driver entries for new sound driver.
-rw-r--r-- | etc/MAKEDEV | 45 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 45 |
2 files changed, 88 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 67d22eb..a3a2d6d 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -65,8 +65,9 @@ # dcf* dcf clock # speaker pc speaker # tw* xten power controller +# snd* various sound cards # -# $Id: MAKEDEV,v 1.10 1993/10/06 03:35:03 rgrimes Exp $ +# $Id: MAKEDEV,v 1.11 1993/10/19 20:00:35 nate Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -382,6 +383,48 @@ mouse*) ln -s $name mouse ;; + +snd*) + rm -f /dev/mixer # Mixer [ Control ] + mknod /dev/mixer c 21 0 + chmod 666 /dev/mixer + + rm -f /dev/sequencer # Sequencer [ FM Synth and MIDI output ] + mknod /dev/sequencer c 21 1 + chmod 666 /dev/sequencer + + rm -f /dev/midi # Midi input [ Not implemented ] + mknod /dev/midi c 21 2 + + rm -f /dev/dsp # DSP [ Digitized voice ] + mknod /dev/dsp c 21 3 + chmod 666 /dev/dsp + + rm -f /dev/audio # SPARC audio [ Not fully implemented ] + mknod /dev/audio c 21 4 + chmod 666 /dev/audio + + rm -f /dev/dsp16 # DSP16 [ Same as /dev/dsp, except 16 bits ] + mknod /dev/dsp16 c 21 5 + chmod 666 /dev/dsp16 + + rm -f /dev/sndstat # Status Device [ Debugging interface ] + mknod /dev/sndstat c 21 6 + chmod 666 /dev/sndstat + + rm -f /dev/pro_midi # PRO_MIDI [PAS midi input and output] + mknod /dev/pro_midi c 21 15 + chmod 666 /dev/pro_midi + + rm -f /dev/dsp1 # DSP 1 [ SB emulation of PAS16 or 2nd audio ] + mknod /dev/dsp1 c 21 19 + chmod 666 /dev/dsp1 + + rm -f /dev/audio1 # Sparc Audio 1 [ SB emulation of PAS16 or 2nd audio ] + mknod /dev/audio1 c 21 20 + chmod 666 /dev/audio1 + ;; + local) umask 0 sh MAKEDEV.local diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 67d22eb..a3a2d6d 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -65,8 +65,9 @@ # dcf* dcf clock # speaker pc speaker # tw* xten power controller +# snd* various sound cards # -# $Id: MAKEDEV,v 1.10 1993/10/06 03:35:03 rgrimes Exp $ +# $Id: MAKEDEV,v 1.11 1993/10/19 20:00:35 nate Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -382,6 +383,48 @@ mouse*) ln -s $name mouse ;; + +snd*) + rm -f /dev/mixer # Mixer [ Control ] + mknod /dev/mixer c 21 0 + chmod 666 /dev/mixer + + rm -f /dev/sequencer # Sequencer [ FM Synth and MIDI output ] + mknod /dev/sequencer c 21 1 + chmod 666 /dev/sequencer + + rm -f /dev/midi # Midi input [ Not implemented ] + mknod /dev/midi c 21 2 + + rm -f /dev/dsp # DSP [ Digitized voice ] + mknod /dev/dsp c 21 3 + chmod 666 /dev/dsp + + rm -f /dev/audio # SPARC audio [ Not fully implemented ] + mknod /dev/audio c 21 4 + chmod 666 /dev/audio + + rm -f /dev/dsp16 # DSP16 [ Same as /dev/dsp, except 16 bits ] + mknod /dev/dsp16 c 21 5 + chmod 666 /dev/dsp16 + + rm -f /dev/sndstat # Status Device [ Debugging interface ] + mknod /dev/sndstat c 21 6 + chmod 666 /dev/sndstat + + rm -f /dev/pro_midi # PRO_MIDI [PAS midi input and output] + mknod /dev/pro_midi c 21 15 + chmod 666 /dev/pro_midi + + rm -f /dev/dsp1 # DSP 1 [ SB emulation of PAS16 or 2nd audio ] + mknod /dev/dsp1 c 21 19 + chmod 666 /dev/dsp1 + + rm -f /dev/audio1 # Sparc Audio 1 [ SB emulation of PAS16 or 2nd audio ] + mknod /dev/audio1 c 21 20 + chmod 666 /dev/audio1 + ;; + local) umask 0 sh MAKEDEV.local |