Date: Tue, 10 Apr 2001 14:49:21 +0100 (BST) From: George Reid <greid@FreeBSD.org> To: Ollivier Robert <roberto@eurocontrol.fr> Cc: FreeBSD Current Users' list <freebsd-current@FreeBSD.ORG> Subject: Re: Panic within sound driver Message-ID: <Pine.BSF.4.21.0104101448270.5772-100000@sobek.openirc.co.uk> In-Reply-To: <20010410154219.A795@caerdonn.eurocontrol.fr>
index | next in thread | previous in thread | raw e-mail
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104101448270.5772-100000>
