Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic fix typos in comments, add missing RCSID.



details:   https://anonhg.NetBSD.org/src/rev/6f5c6a90b3ca
branches:  trunk
changeset: 1023077:6f5c6a90b3ca
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Aug 22 19:56:15 2021 +0000

description:
fix typos in comments, add missing RCSID.

diffstat:

 sys/dev/ic/aic79xxvar.h |  16 +++++++++-------
 sys/dev/ic/aic7xxxvar.h |  16 +++++++++-------
 2 files changed, 18 insertions(+), 14 deletions(-)

diffs (144 lines):

diff -r d806422f3566 -r 6f5c6a90b3ca sys/dev/ic/aic79xxvar.h
--- a/sys/dev/ic/aic79xxvar.h   Sun Aug 22 15:06:49 2021 +0000
+++ b/sys/dev/ic/aic79xxvar.h   Sun Aug 22 19:56:15 2021 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: aic79xxvar.h,v 1.28 2021/08/22 19:56:15 andvar Exp $   */
+
 /*
  * Core definitions and data structures sharable across OS platforms.
  *
@@ -288,7 +290,7 @@
         */
        AHD_NONPACKFIFO_BUG     = 0x4000,
        /*
-        * Writing to a DFF SCBPTR register may fail if concurent with
+        * Writing to a DFF SCBPTR register may fail if concurrent with
         * a hardware write to the other DFF SCBPTR register.  This is
         * not currently a concern in our sequencer since all chips with
         * this bug have the AHD_NONPACKFIFO_BUG and all writes of concern
@@ -486,7 +488,7 @@
  *     o A residual has occurred if SG_FULL_RESID is set in sgptr,
  *       or residual_sgptr does not have SG_LIST_NULL set.
  *
- *     o We are transfering the last segment if residual_datacnt has
+ *     o We are transferring the last segment if residual_datacnt has
  *       the SG_LAST_SEG flag set.
  *
  * Host:
@@ -534,7 +536,7 @@
  * the length to store additional address bits and a flag to indicate
  * that a given segment terminates the transfer.  This gives us an
  * addressable range of 512GB on machines with 64bit PCI or with chips
- * that can support dual address cycles on 32bit PCI busses.
+ * that can support dual address cycles on 32bit PCI buses.
  */
 struct ahd_dma_seg {
        uint32_t        addr;
@@ -691,7 +693,7 @@
 /************************ Target Mode Definitions *****************************/
 
 /*
- * Connection desciptor for select-in requests in target mode.
+ * Connection descriptor for select-in requests in target mode.
  */
 struct target_cmd {
        uint8_t scsiid;         /* Our ID and the initiator's ID */
@@ -750,7 +752,7 @@
 /******************** Transfer Negotiation Datastructures *********************/
 #define AHD_TRANS_CUR          0x01    /* Modify current negotiation status */
 #define AHD_TRANS_ACTIVE       0x03    /* Assume this target is on the bus */
-#define AHD_TRANS_GOAL         0x04    /* Modify negontiation goal */
+#define AHD_TRANS_GOAL         0x04    /* Modify negotiation goal */
 #define AHD_TRANS_USER         0x08    /* Modify user negotiation settings */
 #define AHD_PERIOD_10MHz       0x19
 
@@ -1122,7 +1124,7 @@
 
        /*
         * Device instance currently on the bus awaiting a continue TIO
-        * for a command that was not given the disconnect priviledge.
+        * for a command that was not given the disconnect privilege.
         */
        struct ahd_tmode_lstate  *pending_device;
 
@@ -1444,7 +1446,7 @@
 typedef enum {
        AHD_NEG_TO_GOAL,        /* Renegotiate only if goal and curr differ. */
        AHD_NEG_IF_NON_ASYNC,   /* Renegotiate so long as goal is non-async. */
-       AHD_NEG_ALWAYS          /* Renegotiat even if goal is async. */
+       AHD_NEG_ALWAYS          /* Renegotiate even if goal is async. */
 } ahd_neg_type;
 int                    ahd_update_neg_request(struct ahd_softc *,
                            struct ahd_devinfo *, struct ahd_tmode_tstate *,
diff -r d806422f3566 -r 6f5c6a90b3ca sys/dev/ic/aic7xxxvar.h
--- a/sys/dev/ic/aic7xxxvar.h   Sun Aug 22 15:06:49 2021 +0000
+++ b/sys/dev/ic/aic7xxxvar.h   Sun Aug 22 19:56:15 2021 +0000
@@ -1,3 +1,5 @@
+/*     $NetBSD: aic7xxxvar.h,v 1.58 2021/08/22 19:56:15 andvar Exp $   */
+
 /*
  * Core definitions and data structures sharable across OS platforms.
  *
@@ -37,7 +39,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGES.
  *
- * $Id: aic7xxxvar.h,v 1.57 2009/05/12 14:25:17 cegger Exp $
+ * $Id: aic7xxxvar.h,v 1.58 2021/08/22 19:56:15 andvar Exp $
  *
  * $FreeBSD: /repoman/r/ncvs/src/sys/dev/aic7xxx/aic7xxx.h,v 1.44 2003/01/20 20:44:55 gibbs Exp $
  */
@@ -545,7 +547,7 @@
  *     o A residual has occurred if SG_FULL_RESID is set in sgptr,
  *       or residual_sgptr does not have SG_LIST_NULL set.
  *
- *     o We are transfering the last segment if residual_datacnt has
+ *     o We are transferring the last segment if residual_datacnt has
  *       the SG_LAST_SEG flag set.
  *
  * Host:
@@ -604,7 +606,7 @@
  * the length to store additional address bits and a flag to indicate
  * that a given segment terminates the transfer.  This gives us an
  * addressable range of 512GB on machines with 64bit PCI or with chips
- * that can support dual address cycles on 32bit PCI busses.
+ * that can support dual address cycles on 32bit PCI buses.
  */
 struct ahc_dma_seg {
        uint32_t        addr;
@@ -740,7 +742,7 @@
 /************************ Target Mode Definitions *****************************/
 
 /*
- * Connection desciptor for select-in requests in target mode.
+ * Connection descriptor for select-in requests in target mode.
  */
 struct target_cmd {
        uint8_t scsiid;         /* Our ID and the initiator's ID */
@@ -868,7 +870,7 @@
 #define        AHC_ULTRA2_XFER_PERIOD 0x0a
 
 /*
- * Indexes into our table of syncronous transfer rates.
+ * Indexes into our table of synchronous transfer rates.
  */
 #define AHC_SYNCRATE_DT                0
 #define AHC_SYNCRATE_ULTRA2    1
@@ -1093,7 +1095,7 @@
 
        /*
         * Device instance currently on the bus awaiting a continue TIO
-        * for a command that was not given the disconnect priviledge.
+        * for a command that was not given the disconnect privilege.
         */
        struct ahc_tmode_lstate  *pending_device;
 
@@ -1337,7 +1339,7 @@
 typedef enum {
        AHC_NEG_TO_GOAL,        /* Renegotiate only if goal and curr differ. */
        AHC_NEG_IF_NON_ASYNC,   /* Renegotiate so long as goal is non-async. */
-       AHC_NEG_ALWAYS          /* Renegotiat even if goal is async. */
+       AHC_NEG_ALWAYS          /* Renegotiate even if goal is async. */
 } ahc_neg_type;
 int                    ahc_update_neg_request(struct ahc_softc *,
                            struct ahc_devinfo *, struct ahc_tmode_tstate *,



Home | Main Index | Thread Index | Old Index