From owner-p4-projects@FreeBSD.ORG Tue Dec 5 00:59:08 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 31FC616A4C8; Tue, 5 Dec 2006 00:59:08 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DE0C16A4B3 for ; Tue, 5 Dec 2006 00:59:08 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95DD743CBE for ; Tue, 5 Dec 2006 00:58:26 +0000 (GMT) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB50x2e3083640 for ; Tue, 5 Dec 2006 00:59:02 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB50x2i3083637 for perforce@freebsd.org; Tue, 5 Dec 2006 00:59:02 GMT (envelope-from sam@freebsd.org) Date: Tue, 5 Dec 2006 00:59:02 GMT Message-Id: <200612050059.kB50x2i3083637@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 111092 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 00:59:08 -0000 http://perforce.freebsd.org/chv.cgi?CH=111092 Change 111092 by sam@sam_ebb on 2006/12/05 00:58:48 split s/w crypto driver into it's own module; have it bundled in the crypto module leads to problems as we cannot easily order the cryptosoft device detach before the crypto module unload (resulting in reference to a mutex that's been destroyed) Affected files ... .. //depot/projects/crypto/sys/modules/Makefile#2 edit .. //depot/projects/crypto/sys/modules/crypto/Makefile#3 edit .. //depot/projects/crypto/sys/modules/cryptosoft/Makefile#1 add Differences ... ==== //depot/projects/crypto/sys/modules/Makefile#2 (text+ko) ==== @@ -58,6 +58,7 @@ ${_cpufreq} \ ${_crypto} \ ${_cryptodev} \ + ${_cryptosoft} \ ${_cs} \ ${_ctau} \ cue \ @@ -312,6 +313,7 @@ .if exists(${.CURDIR}/../opencrypto) _crypto= crypto _cryptodev= cryptodev +_cryptosoft= cryptosoft .endif .if exists(${.CURDIR}/../crypto) _random= random ==== //depot/projects/crypto/sys/modules/crypto/Makefile#3 (text+ko) ==== @@ -9,7 +9,7 @@ KMOD = crypto SRCS = crypto.c cryptodev_if.c -SRCS += criov.c cryptosoft.c xform.c +SRCS += criov.c xform.c SRCS += cast.c deflate.c rmd160.c rijndael-alg-fst.c rijndael-api.c SRCS += skipjack.c bf_enc.c bf_skey.c SRCS += des_ecb.c des_enc.c des_setkey.c