Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/compat/common Don't include unneeded opt_* files
details: https://anonhg.NetBSD.org/src/rev/210e89647ada
branches: pgoyette-compat
changeset: 321087:210e89647ada
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Mar 24 08:11:12 2018 +0000
description:
Don't include unneeded opt_* files
diffstat:
sys/compat/common/compat_50_mod.c | 16 +++++++++-------
sys/compat/common/compat_60_mod.c | 9 ++-------
sys/compat/common/compat_70_mod.c | 9 ++-------
3 files changed, 13 insertions(+), 21 deletions(-)
diffs (104 lines):
diff -r b2b9d824a721 -r 210e89647ada sys/compat/common/compat_50_mod.c
--- a/sys/compat/common/compat_50_mod.c Sat Mar 24 08:10:49 2018 +0000
+++ b/sys/compat/common/compat_50_mod.c Sat Mar 24 08:11:12 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_50_mod.c,v 1.1.2.5 2018/03/24 05:24:10 pgoyette Exp $ */
+/* $NetBSD: compat_50_mod.c,v 1.1.2.6 2018/03/24 08:11:12 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,12 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_50_mod.c,v 1.1.2.5 2018/03/24 05:24:10 pgoyette Exp $");
-
-#ifdef _KERNEL_OPT
-#include "opt_compat_netbsd.h"
-#include "opt_compat_43.h"
-#endif
+__KERNEL_RCSID(0, "$NetBSD: compat_50_mod.c,v 1.1.2.6 2018/03/24 08:11:12 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
@@ -56,6 +51,10 @@
#include <compat/common/compat_mod.h>
#include <compat/common/if_spppsubr50.h>
+#include <dev/raidframe/rf_compat50_mod.h>
+
+#include <fs/puffs/puffs_sys.h>
+
int
compat_50_init(void)
{
@@ -83,6 +82,7 @@
if_spppsubr_50_init();
cryptodev_50_init();
raidframe_50_init();
+ puffs_50_init();
return error;
@@ -103,6 +103,7 @@
{
int error = 0;
+ puffs_50_fini();
raidframe_50_fini();
cryptodev_50_fini();
if_spppsubr_50_fini();
@@ -142,6 +143,7 @@
if_spppsubr_50_init();
cryptodev_50_init();
raidframe_50_init();
+ puffs_50_init();
return error;
}
diff -r b2b9d824a721 -r 210e89647ada sys/compat/common/compat_60_mod.c
--- a/sys/compat/common/compat_60_mod.c Sat Mar 24 08:10:49 2018 +0000
+++ b/sys/compat/common/compat_60_mod.c Sat Mar 24 08:11:12 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_60_mod.c,v 1.1.2.12 2018/03/21 10:01:04 pgoyette Exp $ */
+/* $NetBSD: compat_60_mod.c,v 1.1.2.13 2018/03/24 08:11:12 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,12 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_60_mod.c,v 1.1.2.12 2018/03/21 10:01:04 pgoyette Exp $");
-
-#ifdef _KERNEL_OPT
-#include "opt_compat_netbsd.h"
-#include "opt_compat_43.h"
-#endif
+__KERNEL_RCSID(0, "$NetBSD: compat_60_mod.c,v 1.1.2.13 2018/03/24 08:11:12 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
diff -r b2b9d824a721 -r 210e89647ada sys/compat/common/compat_70_mod.c
--- a/sys/compat/common/compat_70_mod.c Sat Mar 24 08:10:49 2018 +0000
+++ b/sys/compat/common/compat_70_mod.c Sat Mar 24 08:11:12 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_70_mod.c,v 1.1.2.6 2018/03/21 10:01:04 pgoyette Exp $ */
+/* $NetBSD: compat_70_mod.c,v 1.1.2.7 2018/03/24 08:11:12 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,12 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_70_mod.c,v 1.1.2.6 2018/03/21 10:01:04 pgoyette Exp $");
-
-#ifdef _KERNEL_OPT
-#include "opt_compat_netbsd.h"
-#include "opt_compat_43.h"
-#endif
+__KERNEL_RCSID(0, "$NetBSD: compat_70_mod.c,v 1.1.2.7 2018/03/24 08:11:12 pgoyette Exp $");
#include <sys/systm.h>
#include <sys/module.h>
Home |
Main Index |
Thread Index |
Old Index