Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Remove a comment that doesn't really make sense.



details:   https://anonhg.NetBSD.org/src/rev/edc72f3463d9
branches:  trunk
changeset: 569512:edc72f3463d9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Aug 23 05:38:15 2004 +0000

description:
Remove a comment that doesn't really make sense.

diffstat:

 sys/dev/ccd.c |  14 ++------------
 sys/dev/cgd.c |   6 ++----
 2 files changed, 4 insertions(+), 16 deletions(-)

diffs (76 lines):

diff -r d9b79a54f3c8 -r edc72f3463d9 sys/dev/ccd.c
--- a/sys/dev/ccd.c     Mon Aug 23 05:37:42 2004 +0000
+++ b/sys/dev/ccd.c     Mon Aug 23 05:38:15 2004 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/systm.h>
@@ -953,11 +953,6 @@
        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 @@
        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 -r d9b79a54f3c8 -r edc72f3463d9 sys/dev/cgd.c
--- a/sys/dev/cgd.c     Mon Aug 23 05:37:42 2004 +0000
+++ b/sys/dev/cgd.c     Mon Aug 23 05:38:15 2004 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/types.h>
 #include <sys/param.h>
@@ -418,7 +418,6 @@
        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 @@
        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);
 }
 



Home | Main Index | Thread Index | Old Index