Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi one line comments on one line.



details:   https://anonhg.NetBSD.org/src/rev/61456cb1e20c
branches:  trunk
changeset: 777660:61456cb1e20c
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Tue Feb 28 14:04:19 2012 +0000

description:
one line comments on one line.

diffstat:

 sys/dev/scsipi/ss.c |  24 ++++++++----------------
 1 files changed, 8 insertions(+), 16 deletions(-)

diffs (66 lines):

diff -r 8824ab7a315b -r 61456cb1e20c sys/dev/scsipi/ss.c
--- a/sys/dev/scsipi/ss.c       Tue Feb 28 14:01:03 2012 +0000
+++ b/sys/dev/scsipi/ss.c       Tue Feb 28 14:04:19 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ss.c,v 1.83 2012/02/28 14:01:03 mbalmer Exp $  */
+/*     $NetBSD: ss.c,v 1.84 2012/02/28 14:04:19 mbalmer Exp $  */
 
 /*
  * Copyright (c) 1995 Kenneth Stailey.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.83 2012/02/28 14:01:03 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.84 2012/02/28 14:04:19 mbalmer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -216,9 +216,7 @@
        return 0;
 }
 
-/*
- * open the device.
- */
+/*  open the device. */
 static int
 ssopen(dev_t dev, int flag, int mode, struct lwp *l)
 {
@@ -322,10 +320,8 @@
 }
 
 /*
- * trim the size of the transfer if needed,
- * called by physio
- * basically the smaller of our min and the scsi driver's
- * minphys
+ * trim the size of the transfer if needed, called by physio
+ * basically the smaller of our min and the scsi driver's minphys
  */
 static void
 ssminphys(struct buf *bp)
@@ -455,10 +451,8 @@
        struct buf *bp;
 
        SC_DEBUG(periph, SCSIPI_DB2, ("ssstart "));
-       /*
-        * See if there is a buf to do and we are not already
-        * doing one
-        */
+
+       /* See if there is a buf to do and we are not already doing one */
        while (periph->periph_active < periph->periph_openings) {
                /* if a special awaits, let it proceed first */
                if (periph->periph_flags & PERIPH_WAITING) {
@@ -467,9 +461,7 @@
                        return;
                }
 
-               /*
-                * See if there is a buf with work for us to do..
-                */
+               /* See if there is a buf with work for us to do.. */
                if ((bp = bufq_peek(ss->buf_queue)) == NULL)
                        return;
 



Home | Main Index | Thread Index | Old Index