Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/common XXX: don't reference the global for now so...



details:   https://anonhg.NetBSD.org/src/rev/09e1a472dd62
branches:  trunk
changeset: 321507:09e1a472dd62
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 19 13:04:01 2018 +0000

description:
XXX: don't reference the global for now so that kernels without ccd build.

diffstat:

 sys/compat/common/ccd_60.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 9194e7616308 -r 09e1a472dd62 sys/compat/common/ccd_60.c
--- a/sys/compat/common/ccd_60.c        Mon Mar 19 10:31:56 2018 +0000
+++ b/sys/compat/common/ccd_60.c        Mon Mar 19 13:04:01 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ccd_60.c,v 1.5 2018/03/19 00:21:50 christos Exp $      */
+/*     $NetBSD: ccd_60.c,v 1.6 2018/03/19 13:04:01 christos Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -26,7 +26,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ccd_60.c,v 1.5 2018/03/19 00:21:50 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ccd_60.c,v 1.6 2018/03/19 13:04:01 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -93,11 +93,12 @@
 void
 ccd_60_init(void)
 {
-    compat_ccd_ioctl_60 = compat_60_ccdioctl;
+       (void)compat_50_ccdioctl;
+//     compat_ccd_ioctl_60 = compat_60_ccdioctl;
 }
 
 void
 ccd_60_fini(void)
 {
-    compat_ccd_ioctl_60 = (void *)enosys;
+//     compat_ccd_ioctl_60 = (void *)enosys;
 }



Home | Main Index | Thread Index | Old Index