Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src s/disbale/disable/ and s/enbale/enable/ in comments. also on...



details:   https://anonhg.NetBSD.org/src/rev/064a0b8f659d
branches:  trunk
changeset: 366579:064a0b8f659d
user:      andvar <andvar%NetBSD.org@localhost>
date:      Tue May 31 11:22:33 2022 +0000

description:
s/disbale/disable/ and s/enbale/enable/ in comments. also one more typo fix.

diffstat:

 sys/arch/arm/marvell/armadaxp.c          |  6 +++---
 sys/arch/hpcmips/dev/plumicureg.h        |  4 ++--
 sys/dev/ic/dm9000reg.h                   |  6 +++---
 sys/dev/pci/ixgbe/ixgbe_x550.c           |  6 +++---
 tests/lib/libc/gen/posix_spawn/t_spawn.c |  6 +++---
 5 files changed, 14 insertions(+), 14 deletions(-)

diffs (120 lines):

diff -r ac2376f5b81d -r 064a0b8f659d sys/arch/arm/marvell/armadaxp.c
--- a/sys/arch/arm/marvell/armadaxp.c   Tue May 31 08:43:13 2022 +0000
+++ b/sys/arch/arm/marvell/armadaxp.c   Tue May 31 11:22:33 2022 +0000
@@ -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 @@
 *******************************************************************************/
 
 #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 @@
                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);
diff -r ac2376f5b81d -r 064a0b8f659d sys/arch/hpcmips/dev/plumicureg.h
--- a/sys/arch/hpcmips/dev/plumicureg.h Tue May 31 08:43:13 2022 +0000
+++ b/sys/arch/hpcmips/dev/plumicureg.h Tue May 31 11:22:33 2022 +0000
@@ -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
 
 /*
diff -r ac2376f5b81d -r 064a0b8f659d sys/dev/ic/dm9000reg.h
--- a/sys/dev/ic/dm9000reg.h    Tue May 31 08:43:13 2022 +0000
+++ b/sys/dev/ic/dm9000reg.h    Tue May 31 11:22:33 2022 +0000
@@ -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 */
diff -r ac2376f5b81d -r 064a0b8f659d sys/dev/pci/ixgbe/ixgbe_x550.c
--- a/sys/dev/pci/ixgbe/ixgbe_x550.c    Tue May 31 08:43:13 2022 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_x550.c    Tue May 31 11:22:33 2022 +0000
@@ -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 @@
 }
 
 /**
- * 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
diff -r ac2376f5b81d -r 064a0b8f659d tests/lib/libc/gen/posix_spawn/t_spawn.c
--- a/tests/lib/libc/gen/posix_spawn/t_spawn.c  Tue May 31 08:43:13 2022 +0000
+++ b/tests/lib/libc/gen/posix_spawn/t_spawn.c  Tue May 31 11:22:33 2022 +0000
@@ -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 @@
 
        /*
         * 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);



Home | Main Index | Thread Index | Old Index