Module Name: src
Committed By: andvar
Date: Tue May 31 11:22:34 UTC 2022
Modified Files:
src/sys/arch/arm/marvell: armadaxp.c
src/sys/arch/hpcmips/dev: plumicureg.h
src/sys/dev/ic: dm9000reg.h
src/sys/dev/pci/ixgbe: ixgbe_x550.c
src/tests/lib/libc/gen/posix_spawn: t_spawn.c
Log Message:
s/disbale/disable/ and s/enbale/enable/ in comments. also one more typo fix.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/arm/marvell/armadaxp.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hpcmips/dev/plumicureg.h
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/ic/dm9000reg.h
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/ixgbe/ixgbe_x550.c
cvs rdiff -u -r1.7 -r1.8 src/tests/lib/libc/gen/posix_spawn/t_spawn.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/marvell/armadaxp.c
diff -u src/sys/arch/arm/marvell/armadaxp.c:1.24 src/sys/arch/arm/marvell/armadaxp.c:1.25
--- src/sys/arch/arm/marvell/armadaxp.c:1.24 Mon Aug 30 00:04:30 2021
+++ src/sys/arch/arm/marvell/armadaxp.c Tue May 31 11:22:33 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: armadaxp.c,v 1.24 2021/08/30 00:04:30 rin Exp $ */
+/* $NetBSD: armadaxp.c,v 1.25 2022/05/31 11:22:33 andvar Exp $ */
/*******************************************************************************
Copyright (C) Marvell International Ltd. and its affiliates
@@ -37,7 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
*******************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: armadaxp.c,v 1.24 2021/08/30 00:04:30 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: armadaxp.c,v 1.25 2022/05/31 11:22:33 andvar Exp $");
#define _INTR_PRIVATE
@@ -1149,7 +1149,7 @@ armadaxp_init_mbus(void)
reg |= MVSOC_MLMB_WCR_TARGET(def->target);
reg |= MVSOC_MLMB_WCR_ATTR(def->attr);
#ifdef AURORA_IO_CACHE_COHERENCY
- reg |= MVSOC_MLMB_WCR_SYNC; /* enbale I/O coherency barrior */
+ reg |= MVSOC_MLMB_WCR_SYNC; /* enable I/O coherency barrier */
#endif
reg |= MVSOC_MLMB_WCR_WINEN;
write_mlmbreg(MVSOC_MLMB_WCR(def->window), reg);
Index: src/sys/arch/hpcmips/dev/plumicureg.h
diff -u src/sys/arch/hpcmips/dev/plumicureg.h:1.4 src/sys/arch/hpcmips/dev/plumicureg.h:1.5
--- src/sys/arch/hpcmips/dev/plumicureg.h:1.4 Mon Apr 28 20:23:21 2008
+++ src/sys/arch/hpcmips/dev/plumicureg.h Tue May 31 11:22:33 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: plumicureg.h,v 1.4 2008/04/28 20:23:21 martin Exp $ */
+/* $NetBSD: plumicureg.h,v 1.5 2022/05/31 11:22:33 andvar Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
/* master-enables the USB interrupts */
#define PLUM_INT_USBINTEN_IEN 0x00000002
-/* enbales the clock restart request interrupts */
+/* enables the clock restart request interrupts */
#define PLUM_INT_USBINTEN_WIEN 0x00000001
/*
Index: src/sys/dev/ic/dm9000reg.h
diff -u src/sys/dev/ic/dm9000reg.h:1.8 src/sys/dev/ic/dm9000reg.h:1.9
--- src/sys/dev/ic/dm9000reg.h:1.8 Tue May 31 08:43:15 2022
+++ src/sys/dev/ic/dm9000reg.h Tue May 31 11:22:33 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: dm9000reg.h,v 1.8 2022/05/31 08:43:15 andvar Exp $ */
+/* $NetBSD: dm9000reg.h,v 1.9 2022/05/31 11:22:33 andvar Exp $ */
/*
* Copyright (c) 2009 Paul Fleischer
@@ -68,9 +68,9 @@
#define DM9000_TCR 0x02 /* Tx control */
#define DM9000_TCR_TXREQ (1<<0) /* request to start Tx, self clear */
#define DM9000_TCR_CRC_DIS1 (1<<1) /* disable PAD op on Tx1 */
-#define DM9000_TCR_PAD_DIS1 (1<<2) /* disbale CRC append on Tx1 */
+#define DM9000_TCR_PAD_DIS1 (1<<2) /* disable CRC append on Tx1 */
#define DM9000_TCR_CRC_DIS2 (1<<3) /* disable PAD op on Tx2 */
-#define DM9000_TCR_PAD_DIS2 (1<<4) /* disbale CRC append on Tx2 */
+#define DM9000_TCR_PAD_DIS2 (1<<4) /* disable CRC append on Tx2 */
#define DM9000_TCR_EXCECM (1<<5) /* allow infinite colli. retries */
#define DM9000_TCR_TJDIS (1<<6) /* disable xmit jabber, otherwise on */
#define DM9000_TSR1 0x03 /* transmit completion status 1 */
Index: src/sys/dev/pci/ixgbe/ixgbe_x550.c
diff -u src/sys/dev/pci/ixgbe/ixgbe_x550.c:1.25 src/sys/dev/pci/ixgbe/ixgbe_x550.c:1.26
--- src/sys/dev/pci/ixgbe/ixgbe_x550.c:1.25 Fri Dec 24 05:02:11 2021
+++ src/sys/dev/pci/ixgbe/ixgbe_x550.c Tue May 31 11:22:33 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_x550.c,v 1.25 2021/12/24 05:02:11 msaitoh Exp $ */
+/* $NetBSD: ixgbe_x550.c,v 1.26 2022/05/31 11:22:33 andvar Exp $ */
/******************************************************************************
@@ -35,7 +35,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_x550.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_x550.c,v 1.25 2021/12/24 05:02:11 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_x550.c,v 1.26 2022/05/31 11:22:33 andvar Exp $");
#include "ixgbe_x550.h"
#include "ixgbe_x540.h"
@@ -1215,7 +1215,7 @@ s32 ixgbe_init_eeprom_params_X550(struct
}
/**
- * ixgbe_set_source_address_pruning_X550 - Enable/Disbale source address pruning
+ * ixgbe_set_source_address_pruning_X550 - Enable/Disable source address pruning
* @hw: pointer to hardware structure
* @enable: enable or disable source address pruning
* @pool: Rx pool to set source address pruning for
Index: src/tests/lib/libc/gen/posix_spawn/t_spawn.c
diff -u src/tests/lib/libc/gen/posix_spawn/t_spawn.c:1.7 src/tests/lib/libc/gen/posix_spawn/t_spawn.c:1.8
--- src/tests/lib/libc/gen/posix_spawn/t_spawn.c:1.7 Mon Nov 22 15:09:16 2021
+++ src/tests/lib/libc/gen/posix_spawn/t_spawn.c Tue May 31 11:22:34 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: t_spawn.c,v 1.7 2021/11/22 15:09:16 christos Exp $ */
+/* $NetBSD: t_spawn.c,v 1.8 2022/05/31 11:22:34 andvar Exp $ */
/*-
* Copyright (c) 2012, 2021 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_spawn.c,v 1.7 2021/11/22 15:09:16 christos Exp $");
+__RCSID("$NetBSD: t_spawn.c,v 1.8 2022/05/31 11:22:34 andvar Exp $");
#include <atf-c.h>
@@ -470,7 +470,7 @@ ATF_TC_BODY(t_spawn_fchdir_rel, tc)
/*
* This is done in parts purposely.
- * It enbales the abs path of the relative dir
+ * It enables the abs path of the relative dir
* to be passed to 'check_success()' for comparing
*/
error = asprintf(&chdirwd, "%s/%s", testdir, relative_dir);