summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-02-23 21:54:40 +0000
committerandvar <andvar@NetBSD.org>2022-02-23 21:54:40 +0000
commitf855a88741a8a0aa63efde8923bf1b5ae1e37cd1 (patch)
tree0c1f32b44eb134f6ead5aed4f0f0869f35d63e0b /sys/dev
parent1ec76ff58a1253c38448794815a9cf8cd74a5875 (diff)
fix various typos in comments, mainly immediatly/immediately/,
as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/ata.c6
-rw-r--r--sys/dev/eisa/ahbreg.h4
-rw-r--r--sys/dev/ic/aic7xxx_osm.c6
-rw-r--r--sys/dev/ic/esiop.c6
-rw-r--r--sys/dev/ic/siop.c6
-rw-r--r--sys/dev/pci/if_skreg.h4
-rw-r--r--sys/dev/pci/if_tl.c6
-rw-r--r--sys/dev/scsipi/ss.c6
-rw-r--r--sys/dev/scsipi/st.c6
-rw-r--r--sys/dev/tc/if_le_tc.c6
10 files changed, 28 insertions, 28 deletions
diff --git a/sys/dev/ata/ata.c b/sys/dev/ata/ata.c
index 535398bcb9e..dc152339298 100644
--- a/sys/dev/ata/ata.c
+++ b/sys/dev/ata/ata.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ata.c,v 1.165 2021/11/12 06:53:49 skrll Exp $ */
+/* $NetBSD: ata.c,v 1.166 2022/02/23 21:54:40 andvar Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.165 2021/11/12 06:53:49 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.166 2022/02/23 21:54:40 andvar Exp $");
#include "opt_ata.h"
@@ -960,7 +960,7 @@ ata_dmaerr(struct ata_drive_datas *drvp, int flags)
/*
* Downgrade decision: if we get NERRS_MAX in NXFER.
* We start with n_dmaerrs set to NERRS_MAX-1 so that the
- * first error within the first NXFER ops will immediatly trigger
+ * first error within the first NXFER ops will immediately trigger
* a downgrade.
* If we got an error and n_xfers is bigger than NXFER reset counters.
*/
diff --git a/sys/dev/eisa/ahbreg.h b/sys/dev/eisa/ahbreg.h
index e542c755ca3..502bbd085b2 100644
--- a/sys/dev/eisa/ahbreg.h
+++ b/sys/dev/eisa/ahbreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ahbreg.h,v 1.18 2021/07/26 16:45:56 thorpej Exp $ */
+/* $NetBSD: ahbreg.h,v 1.19 2022/02/23 21:54:40 andvar Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
#define HSCSIID 0x0F /* our SCSI ID */
#define RSTPWR 0x10 /* reset scsi bus on power up or reset */
/**** bit definitions for BUSDEF ****/
-#define B0uS 0x00 /* give up bus immediatly */
+#define B0uS 0x00 /* give up bus immediately */
#define B4uS 0x01 /* delay 4uSec. */
#define B8uS 0x02
diff --git a/sys/dev/ic/aic7xxx_osm.c b/sys/dev/ic/aic7xxx_osm.c
index 2da309ad31f..51ea7cdf5e7 100644
--- a/sys/dev/ic/aic7xxx_osm.c
+++ b/sys/dev/ic/aic7xxx_osm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx_osm.c,v 1.41 2021/08/07 16:19:12 thorpej Exp $ */
+/* $NetBSD: aic7xxx_osm.c,v 1.42 2022/02/23 21:54:41 andvar Exp $ */
/*
* Bus independent FreeBSD shim for the aic7xxx based adaptec SCSI controllers
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.41 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.42 2022/02/23 21:54:41 andvar Exp $");
#include <dev/ic/aic7xxx_osm.h>
#include <dev/ic/aic7xxx_inline.h>
@@ -1038,7 +1038,7 @@ bus_reset:
ahc_timeout, scb);
ahc_unpause(ahc);
} else {
- /* Go "immediatly" to the bus reset */
+ /* Go "immediately" to the bus reset */
/* This shouldn't happen */
ahc_set_recoveryscb(ahc, scb);
ahc_print_path(ahc, scb);
diff --git a/sys/dev/ic/esiop.c b/sys/dev/ic/esiop.c
index 4c09d07d62c..f990fed0a2d 100644
--- a/sys/dev/ic/esiop.c
+++ b/sys/dev/ic/esiop.c
@@ -1,4 +1,4 @@
-/* $NetBSD: esiop.c,v 1.59 2021/08/07 16:19:12 thorpej Exp $ */
+/* $NetBSD: esiop.c,v 1.60 2022/02/23 21:54:41 andvar Exp $ */
/*
* Copyright (c) 2002 Manuel Bouyer.
@@ -28,7 +28,7 @@
/* SYM53c7/8xx PCI-SCSI I/O Processors driver */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.59 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.60 2022/02/23 21:54:41 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1398,7 +1398,7 @@ esiop_handle_qtag_reject(struct esiop_cmd *esiop_cmd)
/*
* handle a bus reset: reset chip, unqueue all active commands, free all
* target struct and report lossage to upper layer.
- * As the upper layer may requeue immediatly we have to first store
+ * As the upper layer may requeue immediately we have to first store
* all active commands in a temporary queue.
*/
void
diff --git a/sys/dev/ic/siop.c b/sys/dev/ic/siop.c
index da6eda7b812..332420ba5e5 100644
--- a/sys/dev/ic/siop.c
+++ b/sys/dev/ic/siop.c
@@ -1,4 +1,4 @@
-/* $NetBSD: siop.c,v 1.102 2021/08/07 16:19:12 thorpej Exp $ */
+/* $NetBSD: siop.c,v 1.103 2022/02/23 21:54:41 andvar Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.
@@ -28,7 +28,7 @@
/* SYM53c7/8xx PCI-SCSI I/O Processors driver */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.102 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.103 2022/02/23 21:54:41 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1160,7 +1160,7 @@ siop_handle_qtag_reject(struct siop_cmd *siop_cmd)
/*
* handle a bus reset: reset chip, unqueue all active commands, free all
* target struct and report lossage to upper layer.
- * As the upper layer may requeue immediatly we have to first store
+ * As the upper layer may requeue immediately we have to first store
* all active commands in a temporary queue.
*/
void
diff --git a/sys/dev/pci/if_skreg.h b/sys/dev/pci/if_skreg.h
index 06dbc03a603..a080983ac7e 100644
--- a/sys/dev/pci/if_skreg.h
+++ b/sys/dev/pci/if_skreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: if_skreg.h,v 1.30 2021/08/02 12:56:24 andvar Exp $ */
+/* $NetBSD: if_skreg.h,v 1.31 2022/02/23 21:54:41 andvar Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -1930,7 +1930,7 @@ struct msk_status_desc {
#define YU_RXSTAT_MIIERR 0x00000020 /* MII error */
#define YU_RXSTAT_BADFC 0x00000040 /* bad flow-control packet */
#define YU_RXSTAT_GOODFC 0x00000080 /* good flow-control packet */
-#define YU_RXSTAT_RXOK 0x00000100 /* receice OK (Good packet) */
+#define YU_RXSTAT_RXOK 0x00000100 /* receive OK (Good packet) */
#define YU_RXSTAT_BROADCAST 0x00000200 /* broadcast packet */
#define YU_RXSTAT_MULTICAST 0x00000400 /* multicast packet */
#define YU_RXSTAT_RUNT 0x00000800 /* undersize packet */
diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c
index a83302d70a5..c74b507c28a 100644
--- a/sys/dev/pci/if_tl.c
+++ b/sys/dev/pci/if_tl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tl.c,v 1.123 2021/09/06 20:55:08 andvar Exp $ */
+/* $NetBSD: if_tl.c,v 1.124 2022/02/23 21:54:41 andvar Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.123 2021/09/06 20:55:08 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tl.c,v 1.124 2022/02/23 21:54:41 andvar Exp $");
#undef TLDEBUG
#define TL_PRIV_STATS
@@ -1135,7 +1135,7 @@ tl_intr(void *v)
bus_dmamap_sync(sc->tl_dmatag, sc->Tx_dmamap, 0,
sizeof(struct tl_Tx_list) * TL_NBUF,
BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE);
- /* if this was an EOC, ACK immediatly */
+ /* if this was an EOC, ACK immediately */
if (ack)
sc->tl_if.if_flags &= ~IFF_OACTIVE;
if (int_type == TL_INTR_TxEOC) {
diff --git a/sys/dev/scsipi/ss.c b/sys/dev/scsipi/ss.c
index bbdcfe44b76..c59380a6cea 100644
--- a/sys/dev/scsipi/ss.c
+++ b/sys/dev/scsipi/ss.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ss.c,v 1.90 2020/09/29 02:58:52 msaitoh Exp $ */
+/* $NetBSD: ss.c,v 1.91 2022/02/23 21:54:41 andvar 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.90 2020/09/29 02:58:52 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ss.c,v 1.91 2022/02/23 21:54:41 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -414,7 +414,7 @@ ssstrategy(struct buf *bp)
if (bp->b_bcount > ss->sio.scan_window_size)
bp->b_bcount = ss->sio.scan_window_size;
- /* If it's a null transfer, return immediatly */
+ /* If it's a null transfer, return immediately */
if (bp->b_bcount == 0)
goto done;
diff --git a/sys/dev/scsipi/st.c b/sys/dev/scsipi/st.c
index b2a6fb4b396..957a4aa5ae2 100644
--- a/sys/dev/scsipi/st.c
+++ b/sys/dev/scsipi/st.c
@@ -1,4 +1,4 @@
-/* $NetBSD: st.c,v 1.242 2021/12/05 02:21:08 msaitoh Exp $ */
+/* $NetBSD: st.c,v 1.243 2022/02/23 21:54:41 andvar Exp $ */
/*-
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.242 2021/12/05 02:21:08 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.243 2022/02/23 21:54:41 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_scsi.h"
@@ -1686,7 +1686,7 @@ st_read(struct st_softc *st, char *bf, int size, int flags)
{
struct scsi_rw_tape cmd;
- /* If it's a null transfer, return immediatly */
+ /* If it's a null transfer, return immediately */
if (size == 0)
return 0;
memset(&cmd, 0, sizeof(cmd));
diff --git a/sys/dev/tc/if_le_tc.c b/sys/dev/tc/if_le_tc.c
index fec352ddba3..549cdae9358 100644
--- a/sys/dev/tc/if_le_tc.c
+++ b/sys/dev/tc/if_le_tc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_le_tc.c,v 1.22 2017/06/22 16:46:53 flxd Exp $ */
+/* $NetBSD: if_le_tc.c,v 1.23 2022/02/23 21:54:41 andvar Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_le_tc.c,v 1.22 2017/06/22 16:46:53 flxd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_le_tc.c,v 1.23 2022/02/23 21:54:41 andvar Exp $");
#include "opt_inet.h"
@@ -106,7 +106,7 @@ le_tc_attach(device_t parent, device_t self, void *aux)
/*
* TC lance boards have onboard SRAM buffers. DMA
- * between the onbard RAM and main memory is not possible,
+ * between the onboard RAM and main memory is not possible,
* so DMA setup is not required.
*/