Module Name: src Committed By: christos Date: Tue Dec 30 02:21:10 UTC 2014
Modified Files: src/sys/dev: ccd.c Log Message: call disk_ioctl. To generate a diff of this commit: cvs rdiff -u -r1.154 -r1.155 src/sys/dev/ccd.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/dev/ccd.c diff -u src/sys/dev/ccd.c:1.154 src/sys/dev/ccd.c:1.155 --- src/sys/dev/ccd.c:1.154 Sat Oct 11 08:36:25 2014 +++ src/sys/dev/ccd.c Mon Dec 29 21:21:10 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ccd.c,v 1.154 2014/10/11 12:36:25 mlelstv Exp $ */ +/* $NetBSD: ccd.c,v 1.155 2014/12/30 02:21:10 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999, 2007, 2009 The NetBSD Foundation, Inc. @@ -88,7 +88,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.154 2014/10/11 12:36:25 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.155 2014/12/30 02:21:10 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -1154,6 +1154,10 @@ ccdioctl(dev_t dev, u_long cmd, void *da } } + error = disk_ioctl(&cs->sc_dkdev, cmd, data, flag, l); + if (error != EPASSTHROUGH) + goto out; + switch (cmd) { case CCDIOCSET: if (cs->sc_flags & CCDF_INITED) {