Subject: CVS commit: src/sys/dev/pud
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 11/20/2007 18:47:06
Module Name:	src
Committed By:	pooka
Date:		Tue Nov 20 18:47:06 UTC 2007

Added Files:
	src/sys/dev/pud: Makefile pud.c pud_dev.c pud_msgif.h pud_sys.h

Log Message:
Add initial support for userspace block/char device drivers.  This
is a very rough cut supporting only open/close/read/write for char
devices for the time being.  It also takes some extra liberties in
error value processing wrt. to the request-response protocol, but
that will be fixed later.  On the bright side, I haven't managed
to crash my test kernel in several hours with this anymore, so it
can be considered extra-stable ...  All in all this is remarkably
similar to puffs from multiple angles (well, actually, big surprise
there) and these two will share more and more code in the future.

The hardest part, coming up with the name, was done by agc.  I'm
not exactly sure what "pud" is supposed to stand for, but if my
British is anything close to par, I understand that "pud" over
there can stand for just about anything, so it's a safe bet.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/sys/dev/pud/Makefile src/sys/dev/pud/pud.c \
    src/sys/dev/pud/pud_dev.c src/sys/dev/pud/pud_msgif.h \
    src/sys/dev/pud/pud_sys.h

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