diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c index babc7ab29b28..219b7c26fdad 100644 --- a/sys/dev/ccd.c +++ b/sys/dev/ccd.c @@ -1,4 +1,4 @@ -/* $NetBSD: ccd.c,v 1.97 2004/08/23 04:38:42 thorpej Exp $ */ +/* $NetBSD: ccd.c,v 1.98 2004/08/23 05:38:15 thorpej Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999 The NetBSD Foundation, Inc. @@ -125,7 +125,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.97 2004/08/23 04:38:42 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.98 2004/08/23 05:38:15 thorpej Exp $"); #include #include @@ -953,11 +953,6 @@ ccdread(dev_t dev, struct uio *uio, int flags) if ((cs->sc_flags & CCDF_INITED) == 0) return (ENXIO); - /* - * XXX: It's not clear that using minphys() is completely safe, - * in particular, for raw I/O. Underlying devices might have some - * non-obvious limits, because of the copy to user-space. - */ return (physio(ccdstrategy, NULL, dev, B_READ, minphys, uio)); } @@ -979,11 +974,6 @@ ccdwrite(dev_t dev, struct uio *uio, int flags) if ((cs->sc_flags & CCDF_INITED) == 0) return (ENXIO); - /* - * XXX: It's not clear that using minphys() is completely safe, - * in particular, for raw I/O. Underlying devices might have some - * non-obvious limits, because of the copy to user-space. - */ return (physio(ccdstrategy, NULL, dev, B_WRITE, minphys, uio)); } diff --git a/sys/dev/cgd.c b/sys/dev/cgd.c index c375ca91f8e6..626d6591cb6e 100644 --- a/sys/dev/cgd.c +++ b/sys/dev/cgd.c @@ -1,4 +1,4 @@ -/* $NetBSD: cgd.c,v 1.18 2004/08/23 05:37:42 thorpej Exp $ */ +/* $NetBSD: cgd.c,v 1.19 2004/08/23 05:38:15 thorpej Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.18 2004/08/23 05:37:42 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.19 2004/08/23 05:38:15 thorpej Exp $"); #include #include @@ -418,7 +418,6 @@ cgdread(dev_t dev, struct uio *uio, int flags) dksc = &cs->sc_dksc; if ((dksc->sc_flags & DKF_INITED) == 0) return ENXIO; - /* XXX see the comments about minphys in ccd.c */ return physio(cgdstrategy, NULL, dev, B_READ, minphys, uio); } @@ -434,7 +433,6 @@ cgdwrite(dev_t dev, struct uio *uio, int flags) dksc = &cs->sc_dksc; if ((dksc->sc_flags & DKF_INITED) == 0) return ENXIO; - /* XXX see the comments about minphys in ccd.c */ return physio(cgdstrategy, NULL, dev, B_WRITE, minphys, uio); }