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.
This commit is contained in:
jonathan 2003-07-30 18:28:58 +00:00
parent 675f6328c9
commit 4ccffbe938
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.opencrypto,v 1.4 2003/07/28 21:28:23 jonathan Exp $
# $NetBSD: files.opencrypto,v 1.5 2003/07/30 18:28:58 jonathan Exp $
#
#
@ -6,7 +6,7 @@ file opencrypto/criov.c opencrypto
file opencrypto/cryptodev.c opencrypto
file opencrypto/cryptosoft.c opencrypto
file opencrypto/xform.c opencrypto
file opencrypto/crypto.c opencrypto
file opencrypto/crypto.c opencrypto needs-flag
#Standalone m_apply()/m_getptr()
#file opencrypto/crypto_mbuf.c opencrypto