summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/isa/mss.c
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2001-06-16 21:25:10 +0000
committercg <cg@FreeBSD.org>2001-06-16 21:25:10 +0000
commit4a0664e88e403e97d641f7ad4fd6dab71095bd0b (patch)
treeb90a72aa9539fc95aa3dfcae3c1ed22290a8bec2 /sys/dev/sound/isa/mss.c
parentb81ba90a5fa7778120861346194bdd1912baa63b (diff)
downloadFreeBSD-src-4a0664e88e403e97d641f7ad4fd6dab71095bd0b.zip
FreeBSD-src-4a0664e88e403e97d641f7ad4fd6dab71095bd0b.tar.gz
use a global devclass for all drivers - i'm not entirely sure why this
worked before. mixer, dsp and sndstat are seperate devices - give them their own cdevsws instead of demuxing requests sent to a single cdevsw. use the si_drv1/si_drv2 fields in dev_t structures for holding information specific to an open instance of mixer/dsp. nuke /dev/{dsp,dspW,audio}[0-9]* links - this functionality is now provided using cloning. various locking fixes.
Diffstat (limited to 'sys/dev/sound/isa/mss.c')
-rw-r--r--sys/dev/sound/isa/mss.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c
index dea678f..9c9287d 100644
--- a/sys/dev/sound/isa/mss.c
+++ b/sys/dev/sound/isa/mss.c
@@ -120,8 +120,6 @@ static int pnpmss_attach(device_t dev);
static driver_intr_t opti931_intr;
-static devclass_t pcm_devclass;
-
static u_int32_t mss_fmt[] = {
AFMT_U8,
AFMT_STEREO | AFMT_U8,
OpenPOWER on IntegriCloud