From 885dc3a91a3a549afebb8286ecff3ac99dbcd601 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 14 Aug 1998 06:21:34 +0000 Subject: [PATCH] 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 --- etc/MAKEDEV | 18 ++++++++---------- etc/etc.i386/MAKEDEV | 18 ++++++++---------- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 4d368d1447f1..401bbaffbb65 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 4d368d1447f1..401bbaffbb65 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`