On Tue, 10 Apr 2001, Ollivier Robert wrote:
> Stopped at _mtx_lock_sleep+0x2e2: movb 0x1d5(%edx),%al
> _mtx_lock_sleep
> snd_mtxlock
> ad1816_lock
Following patch should fix, I'll commit this to -current later.
- greid
Index: ad1816.c
===================================================================
RCS file: /usr/home/ncvs/src/sys/dev/sound/isa/ad1816.c,v
retrieving revision 1.17
diff -u -r1.17 ad1816.c
--- ad1816.c 2001/03/24 23:10:25 1.17
+++ ad1816.c 2001/04/10 13:47:55
@@ -88,13 +88,13 @@
static void
ad1816_lock(struct ad1816_info *ad1816)
{
- snd_mtxlock(ad1816);
+ snd_mtxlock(ad1816->lock);
}
static void
ad1816_unlock(struct ad1816_info *ad1816)
{
- snd_mtxunlock(ad1816);
+ snd_mtxunlock(ad1816->lock);
}
static int
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message