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 Add raidframe init/fini calls



details:   https://anonhg.NetBSD.org/src/rev/4ddceaad04b9
branches:  pgoyette-compat
changeset: 321084:4ddceaad04b9
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Mar 24 05:24:10 2018 +0000

description:
Add raidframe init/fini calls

diffstat:

 sys/compat/common/compat_50_mod.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 2b5d9b331462 -r 4ddceaad04b9 sys/compat/common/compat_50_mod.c
--- a/sys/compat/common/compat_50_mod.c Sat Mar 24 03:04:48 2018 +0000
+++ b/sys/compat/common/compat_50_mod.c Sat Mar 24 05:24:10 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_50_mod.c,v 1.1.2.4 2018/03/23 09:41:10 pgoyette Exp $   */
+/*     $NetBSD: compat_50_mod.c,v 1.1.2.5 2018/03/24 05:24:10 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.4 2018/03/23 09:41:10 pgoyette Exp $");
+__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"
@@ -82,6 +82,7 @@
        clockctl_50_init();
        if_spppsubr_50_init();
        cryptodev_50_init();
+       raidframe_50_init();
 
        return error;
 
@@ -102,6 +103,7 @@
 {
        int error = 0;
 
+       raidframe_50_fini();
        cryptodev_50_fini();
        if_spppsubr_50_fini();
        clockctl_50_fini();
@@ -139,6 +141,7 @@
        clockctl_50_init();
        if_spppsubr_50_init();
        cryptodev_50_init();
+       raidframe_50_init();
 
        return error;
 }



Home | Main Index | Thread Index | Old Index