summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-07-24 21:31:31 +0000
committerandvar <andvar@NetBSD.org>2021-07-24 21:31:31 +0000
commit34d96f12a5fdba1d6c4bc8849a8a112061282bb9 (patch)
tree95c5e86cc7cb63202b2510e8efd8af15569a3bb1 /sys/dev
parentd4e6d16e2580353b9afef55c3be37b7a2fdf1383 (diff)
Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bi/kdbreg.h4
-rw-r--r--sys/dev/cardbus/fwohci_cardbus.c6
-rw-r--r--sys/dev/dm/dm_ioctl.c6
-rw-r--r--sys/dev/dm/dm_target_flakey.c6
-rw-r--r--sys/dev/hpc/files.hpcio4
-rw-r--r--sys/dev/ic/adw.c8
-rw-r--r--sys/dev/ic/ahcisatareg.h8
-rw-r--r--sys/dev/ic/aic79xx.c8
-rw-r--r--sys/dev/ic/aic7xxx.c8
-rw-r--r--sys/dev/ic/cs89x0.c8
-rw-r--r--sys/dev/ic/lemacreg.h4
-rw-r--r--sys/dev/ic/mfireg.h4
-rw-r--r--sys/dev/ic/mpt_mpilib.h4
-rw-r--r--sys/dev/ieee1394/fwdma.c6
-rw-r--r--sys/dev/isa/README.seagate4
-rw-r--r--sys/dev/isa/sbdsp.c6
-rw-r--r--sys/dev/marvell/gtidmac.c6
-rw-r--r--sys/dev/microcode/aic7xxx/aicasm.c6
-rw-r--r--sys/dev/pci/if_ena.c4
-rw-r--r--sys/dev/pci/if_vge.c6
-rw-r--r--sys/dev/pci/if_vgereg.h2
-rw-r--r--sys/dev/pci/ixgbe/ixgbe_common.c8
-rw-r--r--sys/dev/spi/mcp23s17.c6
-rw-r--r--sys/dev/vnd.c6
24 files changed, 69 insertions, 69 deletions
diff --git a/sys/dev/bi/kdbreg.h b/sys/dev/bi/kdbreg.h
index f978f31c455..df2b43d581d 100644
--- a/sys/dev/bi/kdbreg.h
+++ b/sys/dev/bi/kdbreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: kdbreg.h,v 1.5 2005/12/11 12:21:15 christos Exp $ */
+/* $NetBSD: kdbreg.h,v 1.6 2021/07/24 21:31:36 andvar Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
@@ -58,7 +58,7 @@ struct kdb_regs {
* Asserting KDB_MAP in values placed in mscp_seq.seq_buffer tells
* the KDB to use mscp_seq.seq_mapbase as a set of PTEs and seq_buffer
* as an offset value. Hence we need no mappings; the KDB50 reads
- * the hardware page tables directly. (Without KDB_MAP, seq_bufer
+ * the hardware page tables directly. (Without KDB_MAP, seq_buffer
* represents the physical memory address instead, and seq_mapbase is
* unused.)
*/
diff --git a/sys/dev/cardbus/fwohci_cardbus.c b/sys/dev/cardbus/fwohci_cardbus.c
index 0810aed8033..ff15c2d02bb 100644
--- a/sys/dev/cardbus/fwohci_cardbus.c
+++ b/sys/dev/cardbus/fwohci_cardbus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fwohci_cardbus.c,v 1.36 2016/07/14 04:19:26 msaitoh Exp $ */
+/* $NetBSD: fwohci_cardbus.c,v 1.37 2021/07/24 21:31:36 andvar Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwohci_cardbus.c,v 1.36 2016/07/14 04:19:26 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwohci_cardbus.c,v 1.37 2021/07/24 21:31:36 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -127,7 +127,7 @@ fwohci_cardbus_attach(device_t parent, device_t self, void *aux)
return;
}
- /* XXX NULL should be replaced by some call to Cardbus coed */
+ /* XXX NULL should be replaced by some call to Cardbus code */
if (fwohci_attach(&sc->sc_sc) != 0) {
Cardbus_intr_disestablish(ct, sc->sc_ih);
sc->sc_ih = NULL;
diff --git a/sys/dev/dm/dm_ioctl.c b/sys/dev/dm/dm_ioctl.c
index b2aff99ec9d..0b9474e4fda 100644
--- a/sys/dev/dm/dm_ioctl.c
+++ b/sys/dev/dm/dm_ioctl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_ioctl.c,v 1.52 2021/06/21 03:16:43 christos Exp $ */
+/* $NetBSD: dm_ioctl.c,v 1.53 2021/07/24 21:31:37 andvar Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.52 2021/06/21 03:16:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.53 2021/07/24 21:31:37 andvar Exp $");
/*
* Locking is used to synchronise between ioctl calls and between dm_table's
@@ -387,7 +387,7 @@ dm_dev_remove_ioctl(prop_dictionary_t dm_dict)
/*
* This seems as hack to me, probably use routine dm_dev_get_devt to
- * atomicaly get devt from device.
+ * atomically get devt from device.
*/
if ((dmv = dm_dev_lookup(name, uuid, minor)) == NULL) {
DM_REMOVE_FLAG(flags, DM_EXISTS_FLAG);
diff --git a/sys/dev/dm/dm_target_flakey.c b/sys/dev/dm/dm_target_flakey.c
index dbd9adbf0fe..7f1b63065c2 100644
--- a/sys/dev/dm/dm_target_flakey.c
+++ b/sys/dev/dm/dm_target_flakey.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_target_flakey.c,v 1.3 2020/01/21 16:27:53 tkusumi Exp $ */
+/* $NetBSD: dm_target_flakey.c,v 1.4 2021/07/24 21:31:37 andvar Exp $ */
/*
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_target_flakey.c,v 1.3 2020/01/21 16:27:53 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_flakey.c,v 1.4 2021/07/24 21:31:37 andvar Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -365,7 +365,7 @@ _flakey_nestiobuf_iodone(buf_t *bp)
if (bp->b_error == 0 &&
(bp->b_bcount < bp->b_bufsize || bp->b_resid > 0)) {
/*
- * Not all got transfered, raise an error. We have no way to
+ * Not all got transferred, raise an error. We have no way to
* propagate these conditions to mbp.
*/
error = EIO;
diff --git a/sys/dev/hpc/files.hpcio b/sys/dev/hpc/files.hpcio
index fa54b5237a4..5e61534bcfc 100644
--- a/sys/dev/hpc/files.hpcio
+++ b/sys/dev/hpc/files.hpcio
@@ -1,9 +1,9 @@
-# $NetBSD: files.hpcio,v 1.6 2006/10/09 10:33:42 peter Exp $
+# $NetBSD: files.hpcio,v 1.7 2021/07/24 21:31:37 andvar Exp $
# H/PC GPIO interface
# platform:
# iochip: sepecify GPIO chip
-# evtype: event tyep of config_hook
+# evtype: event type of config_hook
# id: event id of config_hook
# port: port number on GPIO
# active: which value is 'ON', 0 or 1.
diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c
index 1f70003d59b..9b5e663b070 100644
--- a/sys/dev/ic/adw.c
+++ b/sys/dev/ic/adw.c
@@ -1,4 +1,4 @@
-/* $NetBSD: adw.c,v 1.57 2021/04/24 23:36:55 thorpej Exp $ */
+/* $NetBSD: adw.c,v 1.58 2021/07/24 21:31:37 andvar Exp $ */
/*
* Generic driver for the Advanced Systems Inc. SCSI controllers
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adw.c,v 1.57 2021/04/24 23:36:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adw.c,v 1.58 2021/07/24 21:31:37 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1132,7 +1132,7 @@ adw_isr_callback(ADW_SOFTC *sc, ADW_SCSI_REQ_Q *scsiq)
* the host adapter.
*/
aprint_error_dev(sc->sc_dev,
- "DMA Error. Reseting bus\n");
+ "DMA Error. Resetting bus\n");
TAILQ_REMOVE(&sc->sc_pending_ccb, ccb, chain);
adw_reset_bus(sc);
xs->error = XS_BUSY;
@@ -1141,7 +1141,7 @@ adw_isr_callback(ADW_SOFTC *sc, ADW_SCSI_REQ_Q *scsiq)
case QHSTA_M_WTM_TIMEOUT:
case QHSTA_M_SXFR_WD_TMO:
/* The SCSI bus hung in a phase */
- printf("%s: Watch Dog timer expired. Reseting bus\n",
+ printf("%s: Watch Dog timer expired. Resetting bus\n",
device_xname(sc->sc_dev));
TAILQ_REMOVE(&sc->sc_pending_ccb, ccb, chain);
adw_reset_bus(sc);
diff --git a/sys/dev/ic/ahcisatareg.h b/sys/dev/ic/ahcisatareg.h
index 2301bfb504a..aa1238cf910 100644
--- a/sys/dev/ic/ahcisatareg.h
+++ b/sys/dev/ic/ahcisatareg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisatareg.h,v 1.15 2019/01/14 21:09:01 jdolecek Exp $ */
+/* $NetBSD: ahcisatareg.h,v 1.16 2021/07/24 21:31:37 andvar Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -120,7 +120,7 @@ struct ahci_r_fis {
#define AHCI_CAP_IS_GEN3 0x00300000 /* 6.0 Gb/s */
#define AHCI_CAP_CLO 0x01000000 /* Command list override */
#define AHCI_CAP_AL 0x02000000 /* Single Activitly LED */
-#define AHCI_CAP_ALP 0x04000000 /* Agressive link power management */
+#define AHCI_CAP_ALP 0x04000000 /* Aggressive link power management */
#define AHCI_CAP_SSU 0x08000000 /* Staggered spin-up */
#define AHCI_CAP_MPS 0x10000000 /* Mechanical swicth */
#define AHCI_CAP_NTF 0x20000000 /* Snotification */
@@ -221,8 +221,8 @@ struct ahci_r_fis {
#define AHCI_P_CMD_ICC_PA 0x20000000 /* State partial */
#define AHCI_P_CMD_ICC_AC 0x10000000 /* State active */
#define AHCI_P_CMD_ICC_NO 0x00000000 /* State idle/NOP */
-#define AHCI_P_CMD_ASP 0x08000000 /* Agressive Slumber/Partial */
-#define AHCI_P_CMD_ALPE 0x04000000 /* Agressive link power management */
+#define AHCI_P_CMD_ASP 0x08000000 /* Aggressive Slumber/Partial */
+#define AHCI_P_CMD_ALPE 0x04000000 /* Aggressive link power management */
#define AHCI_P_CMD_DLAE 0x02000000 /* drive LED on ATAPI */
#define AHCI_P_CMD_ATAP 0x01000000 /* Device is ATAPI */
#define AHCI_P_CMD_ESP 0x00200000 /* external SATA port */
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index 9debd339961..ab66946ea00 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aic79xx.c,v 1.56 2020/06/27 17:07:49 jdolecek Exp $ */
+/* $NetBSD: aic79xx.c,v 1.57 2021/07/24 21:31:37 andvar Exp $ */
/*
* Core routines and tables shareable across OS platforms.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.56 2020/06/27 17:07:49 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.57 2021/07/24 21:31:37 andvar Exp $");
#include <dev/ic/aic79xx_osm.h>
#include <dev/ic/aic79xx_inline.h>
@@ -1963,7 +1963,7 @@ ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1)
ahd_outb(ahd, CLRINT, CLRSCSIINT);
ahd_unpause(ahd);
} else {
- printf("Reseting Channel for LQI Phase error\n");
+ printf("Resetting Channel for LQI Phase error\n");
ahd_dump_card_state(ahd);
ahd_reset_channel(ahd, 'A', /*Initiate Reset*/TRUE);
}
@@ -8429,7 +8429,7 @@ ahd_check_patch(struct ahd_softc *ahd, const struct patch **start_patch,
cur_patch += cur_patch->skip_patch;
} else {
/* Accepted this patch. Advance to the next
- * one and wait for our intruction pointer to
+ * one and wait for our instruction pointer to
* hit this point.
*/
cur_patch++;
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c
index 3fc8c79f90e..3600b811e23 100644
--- a/sys/dev/ic/aic7xxx.c
+++ b/sys/dev/ic/aic7xxx.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx.c,v 1.142 2020/06/27 17:07:49 jdolecek Exp $ */
+/* $NetBSD: aic7xxx.c,v 1.143 2021/07/24 21:31:37 andvar Exp $ */
/*
* Core routines and tables shareable across OS platforms.
@@ -39,7 +39,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: aic7xxx.c,v 1.142 2020/06/27 17:07:49 jdolecek Exp $
+ * $Id: aic7xxx.c,v 1.143 2021/07/24 21:31:37 andvar Exp $
*
* //depot/aic7xxx/aic7xxx/aic7xxx.c#112 $
*
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.142 2020/06/27 17:07:49 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx.c,v 1.143 2021/07/24 21:31:37 andvar Exp $");
#include <dev/ic/aic7xxx_osm.h>
#include <dev/ic/aic7xxx_inline.h>
@@ -6391,7 +6391,7 @@ ahc_check_patch(struct ahc_softc *ahc, const struct patch **start_patch,
cur_patch += cur_patch->skip_patch;
} else {
/* Accepted this patch. Advance to the next
- * one and wait for our intruction pointer to
+ * one and wait for our instruction pointer to
* hit this point.
*/
cur_patch++;
diff --git a/sys/dev/ic/cs89x0.c b/sys/dev/ic/cs89x0.c
index 07d083298ba..dfe06439cd2 100644
--- a/sys/dev/ic/cs89x0.c
+++ b/sys/dev/ic/cs89x0.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cs89x0.c,v 1.49 2020/02/04 05:25:39 thorpej Exp $ */
+/* $NetBSD: cs89x0.c,v 1.50 2021/07/24 21:31:37 andvar Exp $ */
/*
* Copyright (c) 2004 Christopher Gilbert
@@ -138,7 +138,7 @@
** to start transmitting after 381 bytes have been fed to it. if that
** gets transmit underruns, ramp down to 1021 bytes then "whole
** packet." If successful at a given level for a while, try the next
-** more agressive level. This code doesn't ever try to start
+** more aggressive level. This code doesn't ever try to start
** transmitting after 5 bytes have been sent to the NIC, because
** that underruns rather regularly. The back-off and ramp-up mechanism
** could probably be tuned a little bit, but this works well enough to
@@ -175,7 +175,7 @@
** infrequent event. It could have been used in the IFF_PROMISCUOUS
** address check above, but the benefit of it vs. memcmp would be
** inconsequential, there.) Use memcmp() instead.
-** * restructure csStartOuput to avoid the following bugs in the case where
+** * restructure csStartOutput to avoid the following bugs in the case where
** txWait was being set:
** * it would accidentally drop the outgoing packet if told to wait
** but the outgoing packet queue was empty.
@@ -212,7 +212,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.49 2020/02/04 05:25:39 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cs89x0.c,v 1.50 2021/07/24 21:31:37 andvar Exp $");
#include "opt_inet.h"
diff --git a/sys/dev/ic/lemacreg.h b/sys/dev/ic/lemacreg.h
index 6fccab9fe1d..109966c7838 100644
--- a/sys/dev/ic/lemacreg.h
+++ b/sys/dev/ic/lemacreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: lemacreg.h,v 1.5 2005/12/11 12:21:27 christos Exp $ */
+/* $NetBSD: lemacreg.h,v 1.6 2021/07/24 21:31:37 andvar Exp $ */
/*
* Copyright (c) 1994, 1995, 1997 Matt Thomas <matt@3am-software.com>
@@ -121,7 +121,7 @@
#define LEMAC_TX_ISA 0x01 /* Insert Source Address (no) */
#define LEMAC_TX_IFC 0x02 /* Insert Frame Check (yes) */
#define LEMAC_TX_PAD 0x04 /* Zero PAD to minimum length (yes) */
-#define LEMAC_TX_LAB 0x08 /* Less Agressive Backoff (no) */
+#define LEMAC_TX_LAB 0x08 /* Less Aggressive Backoff (no) */
#define LEMAC_TX_QMD 0x10 /* Q-Mode (yes) */
#define LEMAC_TX_STP 0x20 /* Stop on Error (no) */
#define LEMAC_TX_SQE 0x40 /* SQE Enable (yes) */
diff --git a/sys/dev/ic/mfireg.h b/sys/dev/ic/mfireg.h
index a8572a9da25..af4f81c9688 100644
--- a/sys/dev/ic/mfireg.h
+++ b/sys/dev/ic/mfireg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mfireg.h,v 1.10 2019/10/05 23:27:20 mrg Exp $ */
+/* $NetBSD: mfireg.h,v 1.11 2021/07/24 21:31:37 andvar Exp $ */
/* $OpenBSD: mfireg.h,v 1.24 2006/06/19 19:05:45 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
@@ -985,7 +985,7 @@ struct mfi_ld_list {
} mll_list[MFI_MAX_LD];
} __packed;
-/* logicl disk details from MR_DCMD_LD_GET_INFO */
+/* logical disk details from MR_DCMD_LD_GET_INFO */
struct mfi_ld_prop {
struct mfi_ld mlp_ld;
char mlp_name[16];
diff --git a/sys/dev/ic/mpt_mpilib.h b/sys/dev/ic/mpt_mpilib.h
index 17f7c3033a4..639244f5bd5 100644
--- a/sys/dev/ic/mpt_mpilib.h
+++ b/sys/dev/ic/mpt_mpilib.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mpt_mpilib.h,v 1.3 2007/07/27 13:06:51 tron Exp $ */
+/* $NetBSD: mpt_mpilib.h,v 1.4 2021/07/24 21:31:37 andvar Exp $ */
/*
* Copyright (c) 2000, 2001 by LSI Logic Corporation
@@ -2613,7 +2613,7 @@ typedef struct _MSG_FC_PRIMITIVE_SEND_REPLY
*****************************************************************************/
/****************************************************************************/
-/* SCSI IO messages and assocaited structures */
+/* SCSI IO messages and associated structures */
/****************************************************************************/
typedef struct _MSG_SCSI_IO_REQUEST
diff --git a/sys/dev/ieee1394/fwdma.c b/sys/dev/ieee1394/fwdma.c
index 358ad9da859..09300fdc76b 100644
--- a/sys/dev/ieee1394/fwdma.c
+++ b/sys/dev/ieee1394/fwdma.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fwdma.c,v 1.17 2018/12/13 16:38:26 jakllsch Exp $ */
+/* $NetBSD: fwdma.c,v 1.18 2021/07/24 21:31:37 andvar Exp $ */
/*-
* Copyright (c) 2003
* Hidetoshi Shimokawa. All rights reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwdma.c,v 1.17 2018/12/13 16:38:26 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwdma.c,v 1.18 2021/07/24 21:31:37 andvar Exp $");
#if defined(__FreeBSD__)
__FBSDID("$FreeBSD: src/sys/dev/firewire/fwdma.c,v 1.9 2007/06/06 14:31:36 simokawa Exp $");
#endif
@@ -143,7 +143,7 @@ fwdma_alloc_setup(device_t dev, bus_dma_tag_t dmat, bus_size_t size,
/*
* Allocate multisegment dma buffers
- * each segment size is eqaul to ssize except last segment.
+ * each segment size is equal to ssize except last segment.
*/
struct fwdma_alloc_multi *
fwdma_malloc_multiseg(struct firewire_comm *fc, int alignment, int esize, int n,
diff --git a/sys/dev/isa/README.seagate b/sys/dev/isa/README.seagate
index 5ed04a8a9e4..01c3751e6ef 100644
--- a/sys/dev/isa/README.seagate
+++ b/sys/dev/isa/README.seagate
@@ -1,4 +1,4 @@
-# $NetBSD: README.seagate,v 1.6 2019/12/27 09:41:50 msaitoh Exp $
+# $NetBSD: README.seagate,v 1.7 2021/07/24 21:31:37 andvar Exp $
The hardware:
@@ -55,7 +55,7 @@ possible targets, and interrupt vector for the card.
Every scsi command to be issued are stored in a sea_scb structure. It contains
a flag describing status/error of the command, current data buffer position,
-and number of bytes remaining to be transfered.
+and number of bytes remaining to be transferred.
PROBLEMS
diff --git a/sys/dev/isa/sbdsp.c b/sys/dev/isa/sbdsp.c
index 8841c087f46..976d8e230ec 100644
--- a/sys/dev/isa/sbdsp.c
+++ b/sys/dev/isa/sbdsp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sbdsp.c,v 1.141 2019/06/08 08:02:38 isaki Exp $ */
+/* $NetBSD: sbdsp.c,v 1.142 2021/07/24 21:31:37 andvar Exp $ */
/*-
* Copyright (c) 1999, 2008 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.141 2019/06/08 08:02:38 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbdsp.c,v 1.142 2021/07/24 21:31:37 andvar Exp $");
#include "midi.h"
#include "mpu.h"
@@ -1179,7 +1179,7 @@ sbdsp_pause(struct sbdsp_softc *sc)
}
/*
- * Turn on the speaker. The SBK documention says this operation
+ * Turn on the speaker. The SBK documentation says this operation
* can take up to 1/10 of a second. Higher level layers should
* probably let the task sleep for this amount of time after
* calling here. Otherwise, things might not work (because
diff --git a/sys/dev/marvell/gtidmac.c b/sys/dev/marvell/gtidmac.c
index 080e056563a..4fec414a862 100644
--- a/sys/dev/marvell/gtidmac.c
+++ b/sys/dev/marvell/gtidmac.c
@@ -1,4 +1,4 @@
-/* $NetBSD: gtidmac.c,v 1.17 2019/12/27 09:41:51 msaitoh Exp $ */
+/* $NetBSD: gtidmac.c,v 1.18 2021/07/24 21:31:37 andvar Exp $ */
/*
* Copyright (c) 2008, 2012, 2016 KIYOHARA Takashi
* All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.17 2019/12/27 09:41:51 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.18 2021/07/24 21:31:37 andvar Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -130,7 +130,7 @@ struct gtidmac_softc {
struct {
bus_dmamap_t chan_in[MVXORE_NSRC]; /* In dmamap */
bus_dmamap_t chan_out; /* Out dmamap */
- uint64_t chan_totalcnt; /* total transfered */
+ uint64_t chan_totalcnt; /* total transferred */
int chan_ddidx;
void *chan_running; /* opaque object data */
void (*chan_dma_done)(void *, int, bus_dmamap_t *,
diff --git a/sys/dev/microcode/aic7xxx/aicasm.c b/sys/dev/microcode/aic7xxx/aicasm.c
index 8f641ba9d66..4b533993ee2 100644
--- a/sys/dev/microcode/aic7xxx/aicasm.c
+++ b/sys/dev/microcode/aic7xxx/aicasm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aicasm.c,v 1.10 2020/06/27 17:07:49 jdolecek Exp $ */
+/* $NetBSD: aicasm.c,v 1.11 2021/07/24 21:31:37 andvar Exp $ */
/*
* Aic7xxx SCSI host adapter firmware asssembler
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: aicasm.c,v 1.10 2020/06/27 17:07:49 jdolecek Exp $");
+__RCSID("$NetBSD: aicasm.c,v 1.11 2021/07/24 21:31:37 andvar Exp $");
#include <sys/types.h>
#include <sys/mman.h>
@@ -667,7 +667,7 @@ check_patch(patch_t **start_patch, int start_instr,
cur_patch = STAILQ_NEXT(cur_patch, links);
} else {
/* Accepted this patch. Advance to the next
- * one and wait for our intruction pointer to
+ * one and wait for our instruction pointer to
* hit this point.
*/
cur_patch = STAILQ_NEXT(cur_patch, links);
diff --git a/sys/dev/pci/if_ena.c b/sys/dev/pci/if_ena.c
index 6de633958a0..04300bc3082 100644
--- a/sys/dev/pci/if_ena.c
+++ b/sys/dev/pci/if_ena.c
@@ -36,7 +36,7 @@
#if 0
__FBSDID("$FreeBSD: head/sys/dev/ena/ena.c 333456 2018-05-10 09:37:54Z mw $");
#endif
-__KERNEL_RCSID(0, "$NetBSD: if_ena.c,v 1.29 2021/07/19 21:16:33 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ena.c,v 1.30 2021/07/24 21:31:37 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -256,7 +256,7 @@ static const ena_vendor_info_t ena_vendor_info_array[] = {
};
/*
- * Contains pointers to event handlers, e.g. link state chage.
+ * Contains pointers to event handlers, e.g. link state change.
*/
static struct ena_aenq_handlers aenq_handlers;
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c
index a3f88cb7f12..ea967939f32 100644
--- a/sys/dev/pci/if_vge.c
+++ b/sys/dev/pci/if_vge.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vge.c,v 1.80 2020/03/21 16:56:00 thorpej Exp $ */
+/* $NetBSD: if_vge.c,v 1.81 2021/07/24 21:31:37 andvar Exp $ */
/*-
* Copyright (c) 2004
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.80 2020/03/21 16:56:00 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.81 2021/07/24 21:31:37 andvar Exp $");
/*
* VIA Networking Technologies VT612x PCI gigabit ethernet NIC driver.
@@ -1807,7 +1807,7 @@ vge_init(struct ifnet *ifp)
/* Set collision backoff algorithm */
CSR_CLRBIT_1(sc, VGE_CHIPCFG1, VGE_CHIPCFG1_CRANDOM |
VGE_CHIPCFG1_CAP | VGE_CHIPCFG1_MBA | VGE_CHIPCFG1_BAKOPT);
- CSR_SETBIT_1(sc, VGE_CHIPCFG1, VGE_CHIPCFG1_OFSET);
+ CSR_SETBIT_1(sc, VGE_CHIPCFG1, VGE_CHIPCFG1_OFFSET);
/* Disable LPSEL field in priority resolution */
CSR_SETBIT_1(sc, VGE_DIAGCTL, VGE_DIAGCTL_LPSEL_DIS);
diff --git a/sys/dev/pci/if_vgereg.h b/sys/dev/pci/if_vgereg.h
index f80d8eb85df..0f0452a7ec7 100644
--- a/sys/dev/pci/if_vgereg.h
+++ b/sys/dev/pci/if_vgereg.h
@@ -463,7 +463,7 @@
#define VGE_CHIPCFG1_MBA 0x02
#define VGE_CHIPCFG1_CAP 0x04
#define VGE_CHIPCFG1_CRANDOM 0x08
-#define VGE_CHIPCFG1_OFSET 0x10
+#define VGE_CHIPCFG1_OFFSET 0x10
#define VGE_CHIPCFG1_SLOTTIME 0x20 /* slot time 512/500 in giga mode */
#define VGE_CHIPCFG1_MIIOPT 0x40
#define VGE_CHIPCFG1_GTCKOPT 0x80
diff --git a/sys/dev/pci/ixgbe/ixgbe_common.c b/sys/dev/pci/ixgbe/ixgbe_common.c
index c820853847b..b04692093da 100644
--- a/sys/dev/pci/ixgbe/ixgbe_common.c
+++ b/sys/dev/pci/ixgbe/ixgbe_common.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_common.c,v 1.31 2021/04/30 06:55:32 msaitoh Exp $ */
+/* $NetBSD: ixgbe_common.c,v 1.32 2021/07/24 21:31:38 andvar Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -36,7 +36,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_common.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.31 2021/04/30 06:55:32 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.32 2021/07/24 21:31:38 andvar Exp $");
#include "ixgbe_common.h"
#include "ixgbe_phy.h"
@@ -5034,8 +5034,8 @@ s32 ixgbe_bypass_rw_generic(struct ixgbe_hw *hw, u32 cmd, u32 *status)
* ixgbe_bypass_valid_rd_generic - Verify valid return from bit-bang.
*
* If we send a write we can't be sure it took until we can read back
- * that same register. It can be a problem as some of the feilds may
- * for valid reasons change inbetween the time wrote the register and
+ * that same register. It can be a problem as some of the fields may
+ * for valid reasons change in-between the time wrote the register and
* we read it again to verify. So this function check everything we
* can check and then assumes it worked.
*
diff --git a/sys/dev/spi/mcp23s17.c b/sys/dev/spi/mcp23s17.c
index 12069fe396e..5d91efd9c4b 100644
--- a/sys/dev/spi/mcp23s17.c
+++ b/sys/dev/spi/mcp23s17.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mcp23s17.c,v 1.2 2021/04/24 23:36:59 thorpej Exp $ */
+/* $NetBSD: mcp23s17.c,v 1.3 2021/07/24 21:31:38 andvar Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mcp23s17.c,v 1.2 2021/04/24 23:36:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcp23s17.c,v 1.3 2021/07/24 21:31:38 andvar Exp $");
/*
* Driver for Microchip MCP23S17 GPIO
@@ -274,7 +274,7 @@ mcp23s17gpio_gpio_pin_ctl(void *arg, int pin, int flags)
if (flags & (GPIO_PIN_OUTPUT|GPIO_PIN_INPUT)) {
data = mcp23s17gpio_read(sc, MCP23x17_IODIR(sc->sc_bank, port));
if ((flags & GPIO_PIN_INPUT) || !(flags & GPIO_PIN_OUTPUT)) {
- /* for safety INPUT will overide output */
+ /* for safety INPUT will override output */
data |= bit;
} else {
data &= ~bit;
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index c21c19d3fc2..672b8758014 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vnd.c,v 1.282 2021/06/29 22:40:53 dholland Exp $ */
+/* $NetBSD: vnd.c,v 1.283 2021/07/24 21:31:36 andvar Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008, 2020 The NetBSD Foundation, Inc.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.282 2021/06/29 22:40:53 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.283 2021/07/24 21:31:36 andvar Exp $");
#if defined(_KERNEL_OPT)
#include "opt_vnd.h"
@@ -1299,7 +1299,7 @@ vndioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l)
uint32_t comp_size;
uint32_t comp_maxsize;
- /* allocate space for compresed file header */
+ /* allocate space for compressed file header */
ch = malloc(sizeof(struct vnd_comp_header),
M_TEMP, M_WAITOK);