Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 03/29/2006 06:08:16
Module Name:	src
Committed By:	thorpej
Date:		Wed Mar 29 06:08:16 UTC 2006

Modified Files:
	src/sys/kern: subr_autoconf.c
	src/sys/sys: device.h

Log Message:
Add a device_private() to return the driver's private data (softc).
For now, this just returns the passed device_t (as a void *) because
device softcs currently contain a "struct device" as the first member.


To generate a diff of this commit:
cvs rdiff -r1.109 -r1.110 src/sys/kern/subr_autoconf.c
cvs rdiff -r1.88 -r1.89 src/sys/sys/device.h

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