Remove a comment that doesn't really make sense.
This commit is contained in:
parent
a1bb10ef89
commit
4152bad13d
@ -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 @@ 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));
|
||||
}
|
||||
|
||||
|
@ -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 @@ 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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user