summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2006-10-08 02:29:25 +0000
committerBob Beck <beck@cvs.openbsd.org>2006-10-08 02:29:25 +0000
commite42fa795ce115f5acc5b860332beeaa118b33b9a (patch)
treee22be7de9a60017d0926440e54a4b2fa036ddc9e
parent76fdd4e99f758930ca6e539c26c944b5b60b14bf (diff)
Something more closely resembling english in this comment.
-rw-r--r--sys/scsi/cd.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 76ff53d6145..37f081c12cb 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.112 2006/10/07 23:40:07 beck Exp $ */
+/* $OpenBSD: cd.c,v 1.113 2006/10/08 02:29:24 beck Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -2037,15 +2037,16 @@ cd_interpret_sense(xs)
return (EJUSTRETURN); /* let the generic code handle it */
/*
- * We do custom processing in cd for the unit becoming ready case.
- * in this case we do not allow xs->retries to be decremented
- * only on the "Unit Becoming Ready" case. This is because CD
- * drives report "Unit Becoming Ready" when loading media, etc.
- * and can take a long time. Rather than having a massive timeout
- * for all operations (which would cause other problems) we allow
- * operations to wait (but be interruptable with Ctrl-C) forever
- * as long as the drive is reporting that it is becoming ready.
- * all other cases of not being ready are handled as per the default.
+ * We do custom processing in cd for the unit becoming ready
+ * case. We do not allow xs->retries to be decremented on the
+ * "Unit Becoming Ready" case. This is because CD drives
+ * report "Unit Becoming Ready" when loading media and can
+ * take a long time. Rather than having a massive timeout for
+ * all operations (which would cause other problems), we allow
+ * operations to wait (but be interruptable with Ctrl-C)
+ * forever as long as the drive is reporting that it is
+ * becoming ready. All other cases of not being ready are
+ * handled by the default handler.
*/
switch(skey) {
case SKEY_NOT_READY: