From 4a0664e88e403e97d641f7ad4fd6dab71095bd0b Mon Sep 17 00:00:00 2001 From: cg Date: Sat, 16 Jun 2001 21:25:10 +0000 Subject: 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. --- sys/dev/sound/isa/sb8.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/sound/isa/sb8.c') diff --git a/sys/dev/sound/isa/sb8.c b/sys/dev/sound/isa/sb8.c index 390bbdc..0a57fe4 100644 --- a/sys/dev/sound/isa/sb8.c +++ b/sys/dev/sound/isa/sb8.c @@ -96,8 +96,6 @@ static int sb_speed(struct sb_chinfo *ch); static int sb_start(struct sb_chinfo *ch); static int sb_stop(struct sb_chinfo *ch); -static devclass_t pcm_devclass; - /* * Common code for the midi and pcm functions * -- cgit v1.1