Module Name: src
Committed By: pgoyette
Date: Fri Mar 23 09:38:48 UTC 2018
Modified Files:
src/sys/compat/common [pgoyette-compat]: compat_80_mod.c compat_mod.h
files.common
Log Message:
For now, the compat_80 module is empty.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/compat/common/compat_80_mod.c
cvs rdiff -u -r1.1.42.7 -r1.1.42.8 src/sys/compat/common/compat_mod.h
cvs rdiff -u -r1.1.2.16 -r1.1.2.17 src/sys/compat/common/files.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/common/compat_80_mod.c
diff -u src/sys/compat/common/compat_80_mod.c:1.1.2.2 src/sys/compat/common/compat_80_mod.c:1.1.2.3
--- src/sys/compat/common/compat_80_mod.c:1.1.2.2 Wed Mar 21 10:12:48 2018
+++ src/sys/compat/common/compat_80_mod.c Fri Mar 23 09:38:48 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_80_mod.c,v 1.1.2.2 2018/03/21 10:12:48 pgoyette Exp $ */
+/* $NetBSD: compat_80_mod.c,v 1.1.2.3 2018/03/23 09:38:48 pgoyette Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_80_mod.c,v 1.1.2.2 2018/03/21 10:12:48 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_80_mod.c,v 1.1.2.3 2018/03/23 09:38:48 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -56,22 +56,26 @@ __KERNEL_RCSID(0, "$NetBSD: compat_80_mo
int compat_80_init(void)
{
+#ifdef NOTYET
int error;
error = raidframe_80_init();
if (error != 0)
return error;
+#endif
return 0;
}
int compat_80_fini(void)
{
+#ifdef NOTYET
int error;
error = raidframe_80_fini();
if (error != 0)
return error;
+#endif
return 0;
}
Index: src/sys/compat/common/compat_mod.h
diff -u src/sys/compat/common/compat_mod.h:1.1.42.7 src/sys/compat/common/compat_mod.h:1.1.42.8
--- src/sys/compat/common/compat_mod.h:1.1.42.7 Mon Mar 19 21:54:43 2018
+++ src/sys/compat/common/compat_mod.h Fri Mar 23 09:38:48 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_mod.h,v 1.1.42.7 2018/03/19 21:54:43 pgoyette Exp $ */
+/* $NetBSD: compat_mod.h,v 1.1.42.8 2018/03/23 09:38:48 pgoyette Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -39,6 +39,11 @@ void compat_sysctl_fini(void);
void compat_sysctl_vfs(struct sysctllog **);
+#ifdef COMPAT_80
+int compat_80_init(void);
+int compat_80_fini(void);
+#endif
+
#ifdef COMPAT_70
int compat_70_init(void);
int compat_70_fini(void);
Index: src/sys/compat/common/files.common
diff -u src/sys/compat/common/files.common:1.1.2.16 src/sys/compat/common/files.common:1.1.2.17
--- src/sys/compat/common/files.common:1.1.2.16 Wed Mar 21 10:12:48 2018
+++ src/sys/compat/common/files.common Fri Mar 23 09:38:48 2018
@@ -1,4 +1,4 @@
-# $NetBSD: files.common,v 1.1.2.16 2018/03/21 10:12:48 pgoyette Exp $
+# $NetBSD: files.common,v 1.1.2.17 2018/03/23 09:38:48 pgoyette Exp $
#
# Generic files, used by all compat options.
@@ -83,7 +83,7 @@ file compat/common/uipc_usrreq_70.c com
# Compatability code for NetBSD 8.0
file compat/common/compat_80_mod.c compat_80
-file compat/common/raidframe80.c compat_80 & raid
+#file compat/common/raidframe80.c compat_80 & raid
#
# Sources for sysv ipc compatibility across the versions.