head	1.3;
access;
symbols
	netbsd-11-0-RC5:1.3
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.32
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.30
	perseant-exfatfs-base:1.3
	netbsd-9-4-RELEASE:1.2
	netbsd-10-0-RELEASE:1.3
	netbsd-10-0-RC6:1.3
	netbsd-10-0-RC5:1.3
	netbsd-10-0-RC4:1.3
	netbsd-10-0-RC3:1.3
	netbsd-10-0-RC2:1.3
	thorpej-ifq:1.3.0.28
	thorpej-ifq-base:1.3
	thorpej-altq-separation:1.3.0.26
	thorpej-altq-separation-base:1.3
	netbsd-10-0-RC1:1.3
	netbsd-10:1.3.0.24
	netbsd-10-base:1.3
	bouyer-sunxi-drm:1.3.0.22
	bouyer-sunxi-drm-base:1.3
	netbsd-9-3-RELEASE:1.2
	thorpej-i2c-spi-conf2:1.3.0.20
	thorpej-i2c-spi-conf2-base:1.3
	thorpej-futex2:1.3.0.18
	thorpej-futex2-base:1.3
	thorpej-cfargs2:1.3.0.16
	thorpej-cfargs2-base:1.3
	cjep_sun2x-base1:1.3
	cjep_sun2x:1.3.0.14
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	netbsd-9-2-RELEASE:1.2
	cjep_staticlib_x:1.3.0.12
	cjep_staticlib_x-base:1.3
	thorpej-i2c-spi-conf:1.3.0.10
	thorpej-i2c-spi-conf-base:1.3
	thorpej-cfargs:1.3.0.8
	thorpej-cfargs-base:1.3
	thorpej-futex:1.3.0.6
	thorpej-futex-base:1.3
	netbsd-9-1-RELEASE:1.2
	bouyer-xenpvh-base2:1.3
	phil-wifi-20200421:1.3
	bouyer-xenpvh-base1:1.3
	phil-wifi-20200411:1.3
	bouyer-xenpvh:1.3.0.4
	bouyer-xenpvh-base:1.3
	is-mlppp:1.3.0.2
	is-mlppp-base:1.3
	phil-wifi-20200406:1.3
	ad-namecache-base3:1.3
	netbsd-9-0-RELEASE:1.2
	netbsd-9-0-RC2:1.2
	ad-namecache-base2:1.2
	ad-namecache-base1:1.2
	ad-namecache:1.2.0.8
	ad-namecache-base:1.2
	netbsd-9-0-RC1:1.2
	phil-wifi-20191119:1.2
	netbsd-9:1.2.0.6
	netbsd-9-base:1.2
	phil-wifi:1.2.0.4
	phil-wifi-20190609:1.2
	isaki-audio2:1.2.0.2
	isaki-audio2-base:1.2
	pgoyette-compat-merge-20190127:1.1.2.3
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2020.01.27.17.09.17;	author pgoyette;	state Exp;
branches;
next	1.2;
commitid	aPtK71nEx2cONlUB;

1.2
date	2019.01.27.02.08.45;	author pgoyette;	state Exp;
branches
	1.2.4.1
	1.2.8.1;
next	1.1;
commitid	ipPva1Pj3xTcBm9B;

1.1
date	2018.09.23.01.33.25;	author pgoyette;	state dead;
branches
	1.1.2.1;
next	;
commitid	tonJcFlg7zj1saTA;

1.2.4.1
date	2019.01.27.02.08.45;	author christos;	state dead;
branches;
next	1.2.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.2.4.2
date	2019.06.10.22.09.15;	author christos;	state Exp;
branches;
next	1.2.4.3;
commitid	jtc8rnCzWiEEHGqB;

1.2.4.3
date	2020.04.08.14.08.54;	author martin;	state Exp;
branches;
next	;
commitid	Qli2aW9E74UFuA3C;

1.2.8.1
date	2020.02.29.20.21.04;	author ad;	state Exp;
branches;
next	;
commitid	OjSb8ro7YQETQBYB;

1.1.2.1
date	2018.09.23.01.33.26;	author pgoyette;	state Exp;
branches;
next	1.1.2.2;
commitid	tonJcFlg7zj1saTA;

1.1.2.2
date	2018.09.23.03.44.04;	author pgoyette;	state Exp;
branches;
next	1.1.2.3;
commitid	z2bUDBfcdtnabbTA;

1.1.2.3
date	2018.09.23.04.31.17;	author pgoyette;	state Exp;
branches;
next	;
commitid	kLWLk5ZOWdeYqbTA;


desc
@@


1.3
log
@Split the module glue out from the rest of opencrypto/ocryptodev to
make rump happy.

Rump doesn't have compat modules (the compat code is included in the
relevant librump*.so), so there's no module compat_50 listed in
link_set_modules, and thus ocryptodev's MODULE(...) can't "require"
it.

This fixes the problem of "built-in module compat_50 not found" when
starting up rump_allserver (or rump_server with -l rumpdev_opencrypto).

XXX This does not resolve the long-standing "crypto: unable to
XXX register devsw, error 17" message noted at line 78 of
XXX sys/rump/dev/lib/libopencrypto/opencrypto_component.c
@
text
@#	$NetBSD: Makefile,v 1.2 2019/01/27 02:08:45 pgoyette Exp $

.include "../Makefile.inc"

CPPFLAGS+=	-DCOMPAT_50

.PATH:	${S}/opencrypto

KMOD=	compat_crypto_50
SRCS=	ocryptodev.c	compat_crypto_50.c

.include <bsd.kmodule.mk>
@


1.2
log
@Merge the [pgoyette-compat] branch
@
text
@d1 1
a1 1
#	$NetBSD$
d10 1
a10 1
SRCS=	ocryptodev.c
@


1.2.8.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2020/01/27 17:09:17 pgoyette Exp $
d10 1
a10 1
SRCS=	ocryptodev.c	compat_crypto_50.c
@


1.2.4.1
log
@file Makefile was added on branch phil-wifi on 2019-06-10 22:09:15 +0000
@
text
@d1 12
@


1.2.4.2
log
@Sync with HEAD
@
text
@a0 12
#	$NetBSD: Makefile,v 1.2 2019/01/27 02:08:45 pgoyette Exp $

.include "../Makefile.inc"

CPPFLAGS+=	-DCOMPAT_50

.PATH:	${S}/opencrypto

KMOD=	compat_crypto_50
SRCS=	ocryptodev.c

.include <bsd.kmodule.mk>
@


1.2.4.3
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
#	$NetBSD$
d10 1
a10 1
SRCS=	ocryptodev.c	compat_crypto_50.c
@


1.1
log
@file Makefile was initially added on branch pgoyette-compat.
@
text
@d1 12
@


1.1.2.1
log
@Split the compat_crypto_50 from the rest of the crypto module

Cleanup some stuff left over from similar changes to raid modules.
@
text
@a0 12
#	$NetBSD: Makefile,v 1.4 2015/08/20 11:05:01 christos Exp $

.include "../Makefile.inc"

CPPFLAGS+=	-DCOMPAT_50

.PATH:	${S}/opencrypto

KMOD=	crypto
SRCS=	ocryptodev.c ocryptodev.c

.include <bsd.kmodule.mk>
@


1.1.2.2
log
@Fix some thinkos/pastos/typos
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.1 2018/09/23 01:33:26 pgoyette Exp $
d10 1
a10 1
SRCS=	ocryptodev.c
@


1.1.2.3
log
@No need to declare the crypto_50 init/fini routines.  The compat_50
module no longer needs them, and they're declared static in  the
ocryptodev.c code
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.2.2 2018/09/23 03:44:04 pgoyette Exp $
d9 1
a9 1
KMOD=	compat_crypto_50
@


