Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Lennart Augustsson <augustss@netbsd.org>
List: source-changes
Date: 05/18/2005 20:10:25
Module Name:	src
Committed By:	augustss
Date:		Wed May 18 20:10:25 UTC 2005

Modified Files:
	src/sys/dev: audio.c

Log Message:
Allow the audio device to be opened for read resp. write by separate calls
to open().  Previously only one call to open() was allowed.
This change should allow some Linux derived programs to work unaltered.

XXX This isn't really possible to implement correctly in a simple way.
So this implementation is incorrect: It is not until device has been closed
by both the reader and writer that it is possible to open it at all again.


To generate a diff of this commit:
cvs rdiff -r1.194 -r1.195 src/sys/dev/audio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.