Module Name: src Committed By: christos Date: Mon Mar 19 13:04:01 UTC 2018
Modified Files: src/sys/compat/common: ccd_60.c Log Message: XXX: don't reference the global for now so that kernels without ccd build. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/compat/common/ccd_60.c 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/ccd_60.c diff -u src/sys/compat/common/ccd_60.c:1.5 src/sys/compat/common/ccd_60.c:1.6 --- src/sys/compat/common/ccd_60.c:1.5 Sun Mar 18 20:21:50 2018 +++ src/sys/compat/common/ccd_60.c Mon Mar 19 09:04:01 2018 @@ -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 @@ compat_60_ccdioctl(dev_t dev, u_long cmd 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; }