Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 09/24/2007 18:47:57
Module Name:	src
Committed By:	joerg
Date:		Mon Sep 24 18:47:57 UTC 2007

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

Log Message:
Introduce CFATTACH_DECL_NEW and CFATTACH_DECL2_NEW for drivers that
don't expect struct device as first field of softc. device_private uses
a new field of struct device to give the softc address and that field is
either set the struct device for old-style devices or a separate
allocation by config_devalloc. Both macros are intended as temporary
bandaid until all drivers are converted and will be removed later.


To generate a diff of this commit:
cvs rdiff -r1.119 -r1.120 src/sys/kern/subr_autoconf.c
cvs rdiff -r1.97 -r1.98 src/sys/sys/device.h

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