Module Name: src
Committed By: andvar
Date: Sun Aug 22 19:56:15 UTC 2021
Modified Files:
src/sys/dev/ic: aic79xxvar.h aic7xxxvar.h
Log Message:
fix typos in comments, add missing RCSID.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/ic/aic79xxvar.h
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/ic/aic7xxxvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/aic79xxvar.h
diff -u src/sys/dev/ic/aic79xxvar.h:1.27 src/sys/dev/ic/aic79xxvar.h:1.28
--- src/sys/dev/ic/aic79xxvar.h:1.27 Sat Sep 26 14:44:11 2009
+++ src/sys/dev/ic/aic79xxvar.h Sun Aug 22 19:56:15 2021
@@ -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 @@ typedef enum {
*/
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 @@ struct hardware_scb {
* 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 @@ struct hardware_scb {
* 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 @@ struct scb_data {
/************************ 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 @@ struct ahd_tmode_lstate;
/******************** 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 @@ struct ahd_softc {
/*
* 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 @@ void ahd_validate_width(struct ahd_sof
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 *,
Index: src/sys/dev/ic/aic7xxxvar.h
diff -u src/sys/dev/ic/aic7xxxvar.h:1.57 src/sys/dev/ic/aic7xxxvar.h:1.58
--- src/sys/dev/ic/aic7xxxvar.h:1.57 Tue May 12 14:25:17 2009
+++ src/sys/dev/ic/aic7xxxvar.h Sun Aug 22 19:56:15 2021
@@ -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 @@ struct hardware_scb {
* 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 @@ struct hardware_scb {
* 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 @@ struct scb_data {
/************************ 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 @@ struct ahc_syncrate {
#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 @@ struct ahc_softc {
/*
* 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 @@ void ahc_validate_width(struct ahc_sof
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 *,