From owner-cvs-all Fri Sep 14 13:26: 7 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1297437B40E; Fri, 14 Sep 2001 13:26:04 -0700 (PDT) Received: (from greid@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8EKQ4h60592; Fri, 14 Sep 2001 13:26:04 -0700 (PDT) (envelope-from greid) Message-Id: <200109142026.f8EKQ4h60592@freefall.freebsd.org> From: George C A Reid Date: Fri, 14 Sep 2001 13:26:04 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm dsp.c sndstat.c sound.c sound.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG greid 2001/09/14 13:26:03 PDT Modified files: sys/dev/sound/pcm dsp.c sndstat.c sound.c sound.h Log: - Correctly increment the channel refcount in dsp_open() such that it is no longer possible to unload the driver module while sound is playing (which resulted in a panic). - Fix a similar problem with the sndstat device that I found while looking at the above. - Append a newline character to error messages in pcm_unregister() Reviewed by: cg MFC after: 10 days Revision Changes Path 1.50 +7 -7 src/sys/dev/sound/pcm/dsp.c 1.7 +7 -1 src/sys/dev/sound/pcm/sndstat.c 1.65 +9 -4 src/sys/dev/sound/pcm/sound.c 1.43 +2 -1 src/sys/dev/sound/pcm/sound.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message