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

Modified Files:
	src/sys/dev/putter: putter.c putter_sys.h

Log Message:
Allow to register configuration routines to putter.  Once a
configuration routine has been attached to the putter device minor
number, the configuration routine will be called when the device
is opened.  This is required for subsystems which enter the kernel
only through the file descriptor and cannot configure themselves
via another route (like puffs does via the mount() syscall).  Keep
the minor number 0 for "wildcard" uses where we do not require a
hardwired config routine (e.g. the puffs case).


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/dev/putter/putter.c
cvs rdiff -r1.2 -r1.3 src/sys/dev/putter/putter_sys.h

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