From owner-cvs-all@FreeBSD.ORG Wed Oct 26 21:15:08 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 DDFEA16A41F; Wed, 26 Oct 2005 21:15:07 +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 71FB843D48; Wed, 26 Oct 2005 21:15:07 +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 j9QLF7Gn004876; Wed, 26 Oct 2005 21:15:07 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9QLF7gC004875; Wed, 26 Oct 2005 21:15:07 GMT (envelope-from ariff) Message-Id: <200510262115.j9QLF7gC004875@repoman.freebsd.org> From: Ariff Abdullah Date: Wed, 26 Oct 2005 21:15:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 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:15:08 -0000 ariff 2005-10-26 21:15:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) 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.2.1 +15 -12 src/sys/dev/sound/pcm/sound.c