summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-08-21 11:55:24 +0000
committerandvar <andvar@NetBSD.org>2021-08-21 11:55:24 +0000
commitb0a37f4e202d2ca22da5f3f4cb7ffc2f3672346d (patch)
treeb0dbabeeba11de6656ae1007b3d5be503c6d20d3 /sys/dev
parent1ad29d45d9a4ca33dc62e582e33f54b5d7bdb6d6 (diff)
fix some more typos in comments/log messages, improve wording as well.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/dkwedge/dk.c6
-rw-r--r--sys/dev/i2c/si70xx.c6
-rw-r--r--sys/dev/ic/isp_target.c8
-rw-r--r--sys/dev/ic/wd33c93.c6
-rw-r--r--sys/dev/ieee1394/fwohci.c6
-rw-r--r--sys/dev/usb/if_upgt.c10
-rw-r--r--sys/dev/usb/if_upgtvar.h8
7 files changed, 25 insertions, 25 deletions
diff --git a/sys/dev/dkwedge/dk.c b/sys/dev/dkwedge/dk.c
index 3f2aa50be9f..531807f8162 100644
--- a/sys/dev/dkwedge/dk.c
+++ b/sys/dev/dkwedge/dk.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dk.c,v 1.106 2021/08/04 21:44:41 mlelstv Exp $ */
+/* $NetBSD: dk.c,v 1.107 2021/08/21 11:55:25 andvar Exp $ */
/*-
* Copyright (c) 2004, 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dk.c,v 1.106 2021/08/04 21:44:41 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dk.c,v 1.107 2021/08/21 11:55:25 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_dkwedge.h"
@@ -362,7 +362,7 @@ dkwedge_add(struct dkwedge_info *dkw)
/*
* Wedge will be added; increment the wedge count for the parent.
- * Only allow this to happend if RAW_PART is the only thing open.
+ * Only allow this to happen if RAW_PART is the only thing open.
*/
mutex_enter(&pdk->dk_openlock);
if (pdk->dk_openmask & ~(1 << RAW_PART))
diff --git a/sys/dev/i2c/si70xx.c b/sys/dev/i2c/si70xx.c
index f40b2fc3fa1..deb5777fcd1 100644
--- a/sys/dev/i2c/si70xx.c
+++ b/sys/dev/i2c/si70xx.c
@@ -1,4 +1,4 @@
-/* $NetBSD: si70xx.c,v 1.7 2021/06/15 04:39:49 mlelstv Exp $ */
+/* $NetBSD: si70xx.c,v 1.8 2021/08/21 11:55:25 andvar Exp $ */
/*
* Copyright (c) 2017 Brad Spencer <brad@anduin.eldar.org>
@@ -17,7 +17,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: si70xx.c,v 1.7 2021/06/15 04:39:49 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: si70xx.c,v 1.8 2021/08/21 11:55:25 andvar Exp $");
/*
Driver for the Silicon Labs SI7013/SI7020/SI7021
@@ -687,7 +687,7 @@ si70xx_attach(device_t parent, device_t self, void *aux)
buf, 8);
if (error) {
- aprint_error_dev(self, "Failed to read firware version: %d\n",
+ aprint_error_dev(self, "Failed to read firmware version: %d\n",
error);
ecount++;
}
diff --git a/sys/dev/ic/isp_target.c b/sys/dev/ic/isp_target.c
index 9c4c67d5c2f..302e20b2385 100644
--- a/sys/dev/ic/isp_target.c
+++ b/sys/dev/ic/isp_target.c
@@ -1,4 +1,4 @@
--/* $NetBSD: isp_target.c,v 1.35 2018/09/03 16:29:31 riastradh Exp $ */
+-/* $NetBSD: isp_target.c,v 1.36 2021/08/21 11:55:25 andvar Exp $ */
/*-
* Copyright (c) 1997-2008 by Matthew Jacob
* All rights reserved.
@@ -65,7 +65,7 @@
#ifdef __NetBSD__
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp_target.c,v 1.35 2018/09/03 16:29:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_target.c,v 1.36 2021/08/21 11:55:25 andvar Exp $");
#include <dev/ic/isp_netbsd.h>
#endif
#ifdef __FreeBSD__
@@ -1256,7 +1256,7 @@ isp_handle_atio(ispsoftc_t *isp, at_entry_t *aep)
* The firmware status (except for the QLTM_SVALID bit) indicates
* why this ATIO was sent to us.
*
- * If QLTM_SVALID is set, the firware has recommended Sense Data.
+ * If QLTM_SVALID is set, the firmware has recommended Sense Data.
*
* If the DISCONNECTS DISABLED bit is set in the flags field,
* we're still connected on the SCSI bus - i.e. the initiator
@@ -1342,7 +1342,7 @@ isp_handle_atio2(ispsoftc_t *isp, at2_entry_t *aep)
* The firmware status (except for the QLTM_SVALID bit) indicates
* why this ATIO was sent to us.
*
- * If QLTM_SVALID is set, the firware has recommended Sense Data.
+ * If QLTM_SVALID is set, the firmware has recommended Sense Data.
*
* If the DISCONNECTS DISABLED bit is set in the flags field,
* we're still connected on the SCSI bus - i.e. the initiator
diff --git a/sys/dev/ic/wd33c93.c b/sys/dev/ic/wd33c93.c
index 33ea7c5e351..d4e009f70a1 100644
--- a/sys/dev/ic/wd33c93.c
+++ b/sys/dev/ic/wd33c93.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wd33c93.c,v 1.30 2021/08/07 16:19:12 thorpej Exp $ */
+/* $NetBSD: wd33c93.c,v 1.31 2021/08/21 11:55:25 andvar Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd33c93.c,v 1.30 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd33c93.c,v 1.31 2021/08/21 11:55:25 andvar Exp $");
#include "opt_ddb.h"
@@ -2140,7 +2140,7 @@ wd33c93_nextstate(struct wd33c93_softc *sc, struct wd33c93_acb *acb, u_char csr,
default:
abort:
- /* Something unexpected happend -- deal with it. */
+ /* Something unexpected happened -- deal with it. */
printf("next: aborting asr 0x%02x csr 0x%02x\n", asr, csr);
#ifdef DDB
diff --git a/sys/dev/ieee1394/fwohci.c b/sys/dev/ieee1394/fwohci.c
index 6c5fa497ff4..839a9e24029 100644
--- a/sys/dev/ieee1394/fwohci.c
+++ b/sys/dev/ieee1394/fwohci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fwohci.c,v 1.147 2021/08/21 09:59:46 andvar Exp $ */
+/* $NetBSD: fwohci.c,v 1.148 2021/08/21 11:55:25 andvar Exp $ */
/*-
* Copyright (c) 2003 Hidetoshi Shimokawa
@@ -37,7 +37,7 @@
*
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.147 2021/08/21 09:59:46 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.148 2021/08/21 11:55:25 andvar Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -2271,7 +2271,7 @@ fwohci_rbuf_update(struct fwohci_softc *sc, int dmach)
else
/* XXX */
aprint_error_dev(fc->dev,
- "fwohci_rbuf_update: this shouldn't happend\n");
+ "fwohci_rbuf_update: this shouldn't happen\n");
STAILQ_REMOVE_HEAD(&ir->stdma, link);
STAILQ_INSERT_TAIL(&ir->stvalid, chunk, link);
diff --git a/sys/dev/usb/if_upgt.c b/sys/dev/usb/if_upgt.c
index 6e1d7556b67..83b14adc852 100644
--- a/sys/dev/usb/if_upgt.c
+++ b/sys/dev/usb/if_upgt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_upgt.c,v 1.31 2020/03/15 23:04:51 thorpej Exp $ */
+/* $NetBSD: if_upgt.c,v 1.32 2021/08/21 11:55:25 andvar Exp $ */
/* $OpenBSD: if_upgt.c,v 1.49 2010/04/20 22:05:43 tedu Exp $ */
/*
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_upgt.c,v 1.31 2020/03/15 23:04:51 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_upgt.c,v 1.32 2021/08/21 11:55:25 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -1172,7 +1172,7 @@ upgt_eeprom_parse_freq3(struct upgt_softc *sc, uint8_t *data, int len)
sc->sc_eeprom_freq3[channel] = freq3[i];
- DPRINTF(2, "%s: frequence=%d, channel=%d\n",
+ DPRINTF(2, "%s: frequency=%d, channel=%d\n",
device_xname(sc->sc_dev),
le16toh(sc->sc_eeprom_freq3[channel].freq), channel);
}
@@ -1212,7 +1212,7 @@ upgt_eeprom_parse_freq4(struct upgt_softc *sc, uint8_t *data, int len)
sc->sc_eeprom_freq4[channel][j].pad = 0;
}
- DPRINTF(2, "%s: frequence=%d, channel=%d\n",
+ DPRINTF(2, "%s: frequency=%d, channel=%d\n",
device_xname(sc->sc_dev),
le16toh(freq4_1[i].freq), channel);
}
@@ -1236,7 +1236,7 @@ upgt_eeprom_parse_freq6(struct upgt_softc *sc, uint8_t *data, int len)
sc->sc_eeprom_freq6[channel] = freq6[i];
- DPRINTF(2, "%s: frequence=%d, channel=%d\n",
+ DPRINTF(2, "%s: frequency=%d, channel=%d\n",
device_xname(sc->sc_dev),
le16toh(sc->sc_eeprom_freq6[channel].freq), channel);
}
diff --git a/sys/dev/usb/if_upgtvar.h b/sys/dev/usb/if_upgtvar.h
index 76efff2ab4b..496da018d67 100644
--- a/sys/dev/usb/if_upgtvar.h
+++ b/sys/dev/usb/if_upgtvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: if_upgtvar.h,v 1.6 2020/03/15 23:04:51 thorpej Exp $ */
+/* $NetBSD: if_upgtvar.h,v 1.7 2021/08/21 11:55:25 andvar Exp $ */
/* $OpenBSD: if_upgtvar.h,v 1.15 2009/08/10 20:02:19 deraadt Exp $ */
/*
@@ -270,19 +270,19 @@ struct upgt_lmac_filter {
uint32_t unknown4;
} __packed;
-/* frequence 3 data */
+/* frequency 3 data */
struct upgt_lmac_freq3 {
uint16_t freq;
uint8_t data[6];
} __packed;
-/* frequence 4 data */
+/* frequency 4 data */
struct upgt_lmac_freq4 {
struct upgt_eeprom_freq4_2 cmd;
uint8_t pad;
};
-/* frequence 6 data */
+/* frequency 6 data */
struct upgt_lmac_freq6 {
uint16_t freq;
uint8_t data[8];