summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-08-20 20:25:26 +0000
committerandvar <andvar@NetBSD.org>2021-08-20 20:25:26 +0000
commit47ffcd69489a75316f35490b607817882744dfb7 (patch)
treeaf6b4858ca875613c60fe4f7650f983f09aa1163 /sys/dev
parent635db1f9ab37a89b6f61126b155d1a985c5d4c8a (diff)
fix various typos in comments and log messages.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/dm/dm_ioctl.c6
-rw-r--r--sys/dev/dm/dm_table.c6
-rw-r--r--sys/dev/ic/ne2000.c6
-rw-r--r--sys/dev/mii/lxtphy.c6
-rw-r--r--sys/dev/pci/auixp.c10
-rw-r--r--sys/dev/pci/auixpvar.h4
-rw-r--r--sys/dev/pci/ixgbe/ixgbe.c6
7 files changed, 22 insertions, 22 deletions
diff --git a/sys/dev/dm/dm_ioctl.c b/sys/dev/dm/dm_ioctl.c
index 0b9474e4fda..8a003f69cea 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.53 2021/07/24 21:31:37 andvar Exp $ */
+/* $NetBSD: dm_ioctl.c,v 1.54 2021/08/20 20:25:27 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.53 2021/07/24 21:31:37 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.54 2021/08/20 20:25:27 andvar Exp $");
/*
* Locking is used to synchronise between ioctl calls and between dm_table's
@@ -557,7 +557,7 @@ dm_dev_resume_ioctl(prop_dictionary_t dm_dict)
/*
* Table management routines
- * lvm2tools doens't send name/uuid to kernel with table
+ * lvm2tools doesn't send name/uuid to kernel with table
* for lookup I have to use minor number.
*/
diff --git a/sys/dev/dm/dm_table.c b/sys/dev/dm/dm_table.c
index 9caef776c99..03fffd0defd 100644
--- a/sys/dev/dm/dm_table.c
+++ b/sys/dev/dm/dm_table.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_table.c,v 1.19 2019/12/31 10:30:30 tkusumi Exp $ */
+/* $NetBSD: dm_table.c,v 1.20 2021/08/20 20:25:27 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_table.c,v 1.19 2019/12/31 10:30:30 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_table.c,v 1.20 2021/08/20 20:25:27 andvar Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -326,7 +326,7 @@ dm_table_head_destroy(dm_table_head_t *head)
KASSERT(!mutex_owned(&head->table_mtx));
KASSERT(!cv_has_waiters(&head->table_cv));
- /* tables doens't exists when I call this routine, therefore it
+ /* tables don't exist when I call this routine, therefore it
* doesn't make sense to have io_cnt != 0 */
KASSERT(head->io_cnt == 0);
diff --git a/sys/dev/ic/ne2000.c b/sys/dev/ic/ne2000.c
index 8f76eceb5d4..5fe75111550 100644
--- a/sys/dev/ic/ne2000.c
+++ b/sys/dev/ic/ne2000.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ne2000.c,v 1.76 2019/01/27 02:08:42 pgoyette Exp $ */
+/* $NetBSD: ne2000.c,v 1.77 2021/08/20 20:25:28 andvar Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ne2000.c,v 1.76 2019/01/27 02:08:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ne2000.c,v 1.77 2021/08/20 20:25:28 andvar Exp $");
#include "rtl80x9.h"
@@ -207,7 +207,7 @@ ne2000_attach(struct ne2000_softc *nsc, uint8_t *myea)
dsc->sc_reg_map[i] = i;
/*
- * NIC memory doens't start at zero on an NE board.
+ * NIC memory doesn't start at zero on an NE board.
* The start address is tied to the bus width.
*/
#ifdef GWETHER
diff --git a/sys/dev/mii/lxtphy.c b/sys/dev/mii/lxtphy.c
index a604dd213ba..95ee2ccf796 100644
--- a/sys/dev/mii/lxtphy.c
+++ b/sys/dev/mii/lxtphy.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lxtphy.c,v 1.55 2020/03/15 23:04:50 thorpej Exp $ */
+/* $NetBSD: lxtphy.c,v 1.56 2021/08/20 20:25:28 andvar Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lxtphy.c,v 1.55 2020/03/15 23:04:50 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lxtphy.c,v 1.56 2021/08/20 20:25:28 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -238,7 +238,7 @@ lxtphy_status(struct mii_softc *sc)
/*
* Get link status from the CSR; we need to read the CSR
* for media type anyhow, and the link status in the CSR
- * doens't latch, so fewer register reads are required.
+ * doesn't latch, so fewer register reads are required.
*/
PHY_READ(sc, MII_LXTPHY_CSR, &csr);
if (csr & CSR_LINK)
diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c
index 2477302d763..11c53d9904a 100644
--- a/sys/dev/pci/auixp.c
+++ b/sys/dev/pci/auixp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: auixp.c,v 1.50 2020/07/03 12:39:54 isaki Exp $ */
+/* $NetBSD: auixp.c,v 1.51 2021/08/20 20:25:28 andvar Exp $ */
/*
* Copyright (c) 2004, 2005 Reinoud Zandijk <reinoud@netbsd.org>
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.50 2020/07/03 12:39:54 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auixp.c,v 1.51 2021/08/20 20:25:28 andvar Exp $");
#include <sys/types.h>
#include <sys/errno.h>
@@ -360,7 +360,7 @@ auixp_commit_settings(void *hdl)
value &= ~ATI_REG_CMD_SPDF_CONFIG_MASK;
value |= ATI_REG_CMD_SPDF_CONFIG_34; /* NetBSD AC'97 default */
- /* XXX this prolly is not nessisary unless splitted XXX */
+ /* XXX this prolly is not necessary unless splitted XXX */
value &= ~ATI_REG_CMD_INTERLEAVE_SPDF;
if (params->precision <= 16)
value |= ATI_REG_CMD_INTERLEAVE_SPDF;
@@ -1567,7 +1567,7 @@ auixp_disable_dma(struct auixp_softc *sc, struct auixp_dma *dma)
iot = sc->sc_iot;
ioh = sc->sc_ioh;
- /* lets not stress the DMA engine more than nessisary */
+ /* lets not stress the DMA engine more than necessary */
value = bus_space_read_4(iot, ioh, ATI_REG_CMD);
if (value & dma->dma_enable_bit) {
value &= ~dma->dma_enable_bit;
@@ -1585,7 +1585,7 @@ auixp_enable_dma(struct auixp_softc *sc, struct auixp_dma *dma)
iot = sc->sc_iot;
ioh = sc->sc_ioh;
- /* lets not stress the DMA engine more than nessisary */
+ /* lets not stress the DMA engine more than necessary */
value = bus_space_read_4(iot, ioh, ATI_REG_CMD);
if (!(value & dma->dma_enable_bit)) {
value |= dma->dma_enable_bit;
diff --git a/sys/dev/pci/auixpvar.h b/sys/dev/pci/auixpvar.h
index 8eab83b5250..2348b54f734 100644
--- a/sys/dev/pci/auixpvar.h
+++ b/sys/dev/pci/auixpvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: auixpvar.h,v 1.10 2019/10/16 21:52:22 maya Exp $*/
+/* $NetBSD: auixpvar.h,v 1.11 2021/08/20 20:25:28 andvar Exp $*/
/*
* Copyright (c) 2004, 2005 Reinoud Zandijk <reinoud@netbsd.org>
@@ -84,7 +84,7 @@ struct auixp_softc {
/* card id */
int type;
- int delay1, delay2; /* nessisary? */
+ int delay1, delay2; /* necessary? */
/* card properties */
int has_4ch, has_6ch, is_fixed, has_spdif;
diff --git a/sys/dev/pci/ixgbe/ixgbe.c b/sys/dev/pci/ixgbe/ixgbe.c
index bcfe9c35820..4d79211d7b7 100644
--- a/sys/dev/pci/ixgbe/ixgbe.c
+++ b/sys/dev/pci/ixgbe/ixgbe.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.287 2021/07/15 08:09:31 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.288 2021/08/20 20:25:28 andvar Exp $ */
/******************************************************************************
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.287 2021/07/15 08:09:31 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.288 2021/08/20 20:25:28 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -4822,7 +4822,7 @@ out:
IXGBE_CORE_LOCK(adapter);
/*
- * Don't shedule MSF event if the chip is 82598. 82598 doesn't support
+ * Don't schedule MSF event if the chip is 82598. 82598 doesn't support
* MSF. At least, calling ixgbe_handle_msf on 82598 DA makes the link
* flap because the function calls setup_link().
*/