diff options
author | phk <phk@FreeBSD.org> | 1998-08-14 06:21:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-08-14 06:21:34 +0000 |
commit | e24de2520e824bf39d15058aa1f0bbd237c79892 (patch) | |
tree | c01b057ce7f6e123976cc672f9919273abf34fa0 | |
parent | 273211ecd67467d729bf94f14d6799ed209d448d (diff) | |
download | FreeBSD-src-e24de2520e824bf39d15058aa1f0bbd237c79892.zip FreeBSD-src-e24de2520e824bf39d15058aa1f0bbd237c79892.tar.gz |
A long time ago, in a galaxy far, far away, someone made the (bonehead)
decision to limit the sound driver to one device. With Luigi's pcm
driver, the unit number for the PnP detected cards is nearly always 1,
and so you can't create the symlinks that will make your sound work.
PR: 7564
Submitted by: Doug White <dwhite@resnet.uoregon.edu>
-rw-r--r-- | etc/MAKEDEV | 18 | ||||
-rw-r--r-- | etc/etc.i386/MAKEDEV | 18 |
2 files changed, 16 insertions, 20 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 4d368d1..401bbaf 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -108,7 +108,7 @@ # pci PCI configuration-space access from user mode # ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth) # -# $Id: MAKEDEV,v 1.166 1998/08/04 21:45:20 brian Exp $ +# $Id: MAKEDEV,v 1.167 1998/08/10 10:17:46 phk Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -1028,15 +1028,13 @@ snd*) snd_security_hole=0 # XXX umask $snd_security_hole - if [ $unit = "0" ] ; then - ln -fs mixer$unit mixer - ln -fs sequencer$unit sequencer - ln -fs dsp$unit dsp - ln -fs audio$unit audio - ln -fs dspW$unit dspW - ln -fs music$unit music - ln -fs pss$unit pss - fi + ln -fs mixer$unit mixer + ln -fs sequencer$unit sequencer + ln -fs dsp$unit dsp + ln -fs audio$unit audio + ln -fs dspW$unit dspW + ln -fs music$unit music + ln -fs pss$unit pss mknod mixer$unit c $chr `expr $unit '*' 16 + 0` mknod sequencer$unit c $chr `expr $unit '*' 16 + 1` diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 4d368d1..401bbaf 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -108,7 +108,7 @@ # pci PCI configuration-space access from user mode # ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth) # -# $Id: MAKEDEV,v 1.166 1998/08/04 21:45:20 brian Exp $ +# $Id: MAKEDEV,v 1.167 1998/08/10 10:17:46 phk Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH @@ -1028,15 +1028,13 @@ snd*) snd_security_hole=0 # XXX umask $snd_security_hole - if [ $unit = "0" ] ; then - ln -fs mixer$unit mixer - ln -fs sequencer$unit sequencer - ln -fs dsp$unit dsp - ln -fs audio$unit audio - ln -fs dspW$unit dspW - ln -fs music$unit music - ln -fs pss$unit pss - fi + ln -fs mixer$unit mixer + ln -fs sequencer$unit sequencer + ln -fs dsp$unit dsp + ln -fs audio$unit audio + ln -fs dspW$unit dspW + ln -fs music$unit music + ln -fs pss$unit pss mknod mixer$unit c $chr `expr $unit '*' 16 + 0` mknod sequencer$unit c $chr `expr $unit '*' 16 + 1` |