On Sun, 25 Mar 2001, Blaz Zupan wrote:

> My kernel compiled from -current sources as of today morning hangs after
> recognizing the sound hardware, the last line display is:
> 
> pcm0: <Yamaha OPL-SAx> at port
> 0x240-0x24f,0xe80-0xe87,0x388-0x38f,0x300-0x301,0x100-0x101 irq 7 drq
> 0,1 on isa0

Included patch should fix this problem.

greid

Index: mss.c
===================================================================
RCS file: /usr/home/ncvs/src/sys/dev/sound/isa/mss.c,v
retrieving revision 1.65
diff -u -r1.65 mss.c
--- mss.c       2001/03/24 23:10:25     1.65
+++ mss.c       2001/03/25 17:55:10
@@ -174,13 +174,13 @@
 static void
 mss_lock(struct mss_info *mss)
 {
-       snd_mtxlock(mss);
+       snd_mtxlock(mss->lock);
 }
 
 static void
 mss_unlock(struct mss_info *mss)
 {
-       snd_mtxunlock(mss);
+       snd_mtxunlock(mss->lock);
 }
 
 static int


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to