Subject: CVS commit: src/sys/opencrypto
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 07/30/2003 18:28:59
Module Name:	src
Committed By:	jonathan
Date:		Wed Jul 30 18:28:59 UTC 2003

Modified Files:
	src/sys/opencrypto: files.opencrypto

Log Message:
Add ``needs-flag'' to opencrypto/crypto.c, so that init_main() can do
a feature-test and if present, initialize the crypto framework before
configuring hardware devices, so the crypto framework is ready to accept
attachment requests when crypto hardware are auto-configured and
try to register themselves with the framework.

Thanks to Quentin Garnier who, given a heads-up about the problem,
tested the same basic fix with a hardware device.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/opencrypto/files.opencrypto

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