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 For now, the compat_80 module is...



details:   https://anonhg.NetBSD.org/src/rev/92681dc746c7
branches:  pgoyette-compat
changeset: 321080:92681dc746c7
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Mar 23 09:38:48 2018 +0000

description:
For now, the compat_80 module is empty.

diffstat:

 sys/compat/common/compat_80_mod.c |  8 ++++++--
 sys/compat/common/compat_mod.h    |  7 ++++++-
 sys/compat/common/files.common    |  4 ++--
 3 files changed, 14 insertions(+), 5 deletions(-)

diffs (84 lines):

diff -r 36a4cb9ee30d -r 92681dc746c7 sys/compat/common/compat_80_mod.c
--- a/sys/compat/common/compat_80_mod.c Fri Mar 23 09:22:24 2018 +0000
+++ b/sys/compat/common/compat_80_mod.c Fri Mar 23 09:38:48 2018 +0000
@@ -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 @@
 
 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;
 }
diff -r 36a4cb9ee30d -r 92681dc746c7 sys/compat/common/compat_mod.h
--- a/sys/compat/common/compat_mod.h    Fri Mar 23 09:22:24 2018 +0000
+++ b/sys/compat/common/compat_mod.h    Fri Mar 23 09:38:48 2018 +0000
@@ -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_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);
diff -r 36a4cb9ee30d -r 92681dc746c7 sys/compat/common/files.common
--- a/sys/compat/common/files.common    Fri Mar 23 09:22:24 2018 +0000
+++ b/sys/compat/common/files.common    Fri Mar 23 09:38:48 2018 +0000
@@ -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 @@
 
 # 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.



Home | Main Index | Thread Index | Old Index