Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys No need to declare the crypto_50 init/fini rou...
details: https://anonhg.NetBSD.org/src/rev/ca04e9f9ee0c
branches: pgoyette-compat
changeset: 830755:ca04e9f9ee0c
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Sep 23 04:31:17 2018 +0000
description:
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
diffstat:
sys/compat/common/compat_50_mod.c | 6 ++----
sys/modules/Makefile | 3 ++-
sys/modules/compat_crypto_50/Makefile | 4 ++--
sys/opencrypto/ocryptodev.h | 5 +----
4 files changed, 7 insertions(+), 11 deletions(-)
diffs (79 lines):
diff -r 9bb7cd1e5819 -r ca04e9f9ee0c sys/compat/common/compat_50_mod.c
--- a/sys/compat/common/compat_50_mod.c Sun Sep 23 04:27:48 2018 +0000
+++ b/sys/compat/common/compat_50_mod.c Sun Sep 23 04:31:17 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_50_mod.c,v 1.1.2.15 2018/09/23 04:27:48 pgoyette Exp $ */
+/* $NetBSD: compat_50_mod.c,v 1.1.2.16 2018/09/23 04:31:17 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_50_mod.c,v 1.1.2.15 2018/09/23 04:27:48 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_50_mod.c,v 1.1.2.16 2018/09/23 04:31:17 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -47,8 +47,6 @@
#include <sys/syscallvar.h>
#include <sys/syscallargs.h>
-#include <opencrypto/ocryptodev.h>
-
#include <compat/sys/clockctl.h>
#include <compat/common/compat_util.h>
diff -r 9bb7cd1e5819 -r ca04e9f9ee0c sys/modules/Makefile
--- a/sys/modules/Makefile Sun Sep 23 04:27:48 2018 +0000
+++ b/sys/modules/Makefile Sun Sep 23 04:31:17 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.202.2.36 2018/09/23 01:33:25 pgoyette Exp $
+# $NetBSD: Makefile,v 1.202.2.37 2018/09/23 04:31:17 pgoyette Exp $
.include <bsd.own.mk>
@@ -14,6 +14,7 @@
SUBDIR+= compat_sysv_10 compat_sysv_14 compat_sysv_50
+SUBDIR+= compat_raid_50
SUBDIR+= compat_raid_80
SUBDIR+= compat_crypto_50
diff -r 9bb7cd1e5819 -r ca04e9f9ee0c sys/modules/compat_crypto_50/Makefile
--- a/sys/modules/compat_crypto_50/Makefile Sun Sep 23 04:27:48 2018 +0000
+++ b/sys/modules/compat_crypto_50/Makefile Sun Sep 23 04:31:17 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.2.2 2018/09/23 03:44:04 pgoyette Exp $
+# $NetBSD: Makefile,v 1.1.2.3 2018/09/23 04:31:17 pgoyette Exp $
.include "../Makefile.inc"
@@ -6,7 +6,7 @@
.PATH: ${S}/opencrypto
-KMOD= crypto
+KMOD= compat_crypto_50
SRCS= ocryptodev.c
.include <bsd.kmodule.mk>
diff -r 9bb7cd1e5819 -r ca04e9f9ee0c sys/opencrypto/ocryptodev.h
--- a/sys/opencrypto/ocryptodev.h Sun Sep 23 04:27:48 2018 +0000
+++ b/sys/opencrypto/ocryptodev.h Sun Sep 23 04:31:17 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ocryptodev.h,v 1.3.16.4 2018/09/23 03:44:04 pgoyette Exp $ */
+/* $NetBSD: ocryptodev.h,v 1.3.16.5 2018/09/23 04:31:17 pgoyette Exp $ */
/* $FreeBSD: src/sys/opencrypto/cryptodev.h,v 1.2.2.6 2003/07/02 17:04:50 sam Exp $ */
/* $OpenBSD: cryptodev.h,v 1.33 2002/07/17 23:52:39 art Exp $ */
@@ -178,7 +178,4 @@
int ocryptof_ioctl(struct file *, u_long, void *);
-void cryptodev_50_init(void);
-void cryptodev_50_fini(void);
-
#endif /* _CRYPTO_OCRYPTODEV_H_ */
Home |
Main Index |
Thread Index |
Old Index