From owner-cvs-all@FreeBSD.ORG Wed Oct 26 21:18:10 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CDC316A424; Wed, 26 Oct 2005 21:18:10 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC44C43D45; Wed, 26 Oct 2005 21:18:09 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9QLI9b9005148; Wed, 26 Oct 2005 21:18:09 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9QLI9xY005147; Wed, 26 Oct 2005 21:18:09 GMT (envelope-from ariff) Message-Id: <200510262118.j9QLI9xY005147@repoman.freebsd.org> From: Ariff Abdullah Date: Wed, 26 Oct 2005 21:18:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6_0 Cc: Subject: cvs commit: src/sys/dev/sound/pcm sound.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 21:18:10 -0000 ariff 2005-10-26 21:18:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_0) sys/dev/sound/pcm sound.c Log: Rearrange sound unregister procedure to detect mixer busy state and destroy it before anything else. This solve panic issue during sound module unloading if the sound / mixer device being held by external processes. Approved by: re (scottl), netchild (mentor) Reviewed by: andreas Revision Changes Path 1.93.4.1 +15 -12 src/sys/dev/sound/pcm/sound.c