Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net fix typos in comments, mainly s/foward/forward/.
details: https://anonhg.NetBSD.org/src/rev/01edcff35cac
branches: trunk
changeset: 359705:01edcff35cac
user: andvar <andvar%NetBSD.org@localhost>
date: Mon Jan 17 20:56:02 2022 +0000
description:
fix typos in comments, mainly s/foward/forward/.
diffstat:
sys/arch/hppa/spmath/dfadd.c | 6 +++---
sys/arch/hppa/spmath/dfsub.c | 6 +++---
sys/arch/hppa/spmath/sfadd.c | 6 +++---
sys/arch/hppa/spmath/sfsub.c | 6 +++---
sys/arch/sparc64/dev/zsvar.h | 4 ++--
sys/arch/x86/include/specialreg.h | 4 ++--
sys/dev/ic/dc21040reg.h | 4 ++--
sys/net/if_ipsec.h | 4 ++--
8 files changed, 20 insertions(+), 20 deletions(-)
diffs (180 lines):
diff -r 05e577f89f29 -r 01edcff35cac sys/arch/hppa/spmath/dfadd.c
--- a/sys/arch/hppa/spmath/dfadd.c Mon Jan 17 20:38:49 2022 +0000
+++ b/sys/arch/hppa/spmath/dfadd.c Mon Jan 17 20:56:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dfadd.c,v 1.5 2012/02/04 17:03:08 skrll Exp $ */
+/* $NetBSD: dfadd.c,v 1.6 2022/01/17 20:56:02 andvar Exp $ */
/* $OpenBSD: dfadd.c,v 1.4 2001/03/29 03:58:17 mickey Exp $ */
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfadd.c,v 1.5 2012/02/04 17:03:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfadd.c,v 1.6 2022/01/17 20:56:02 andvar Exp $");
#include "../spmath/float.h"
#include "../spmath/dbl_float.h"
@@ -305,7 +305,7 @@
if(Dbl_iszero_hidden(resultp1))
{
/* Handle normalization */
- /* A straight foward algorithm would now shift the result
+ /* A straight forward algorithm would now shift the result
* and extension left until the hidden bit becomes one. Not
* all of the extension bits need participate in the shift.
* Only the two most significant bits (round and guard) are
diff -r 05e577f89f29 -r 01edcff35cac sys/arch/hppa/spmath/dfsub.c
--- a/sys/arch/hppa/spmath/dfsub.c Mon Jan 17 20:38:49 2022 +0000
+++ b/sys/arch/hppa/spmath/dfsub.c Mon Jan 17 20:56:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dfsub.c,v 1.5 2012/02/04 17:03:09 skrll Exp $ */
+/* $NetBSD: dfsub.c,v 1.6 2022/01/17 20:56:02 andvar Exp $ */
/* $OpenBSD: dfsub.c,v 1.4 2001/03/29 03:58:17 mickey Exp $ */
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfsub.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfsub.c,v 1.6 2022/01/17 20:56:02 andvar Exp $");
#include "../spmath/float.h"
#include "../spmath/dbl_float.h"
@@ -308,7 +308,7 @@
if(Dbl_iszero_hidden(resultp1))
{
/* Handle normalization */
- /* A straight foward algorithm would now shift the result
+ /* A straight forward algorithm would now shift the result
* and extension left until the hidden bit becomes one. Not
* all of the extension bits need participate in the shift.
* Only the two most significant bits (round and guard) are
diff -r 05e577f89f29 -r 01edcff35cac sys/arch/hppa/spmath/sfadd.c
--- a/sys/arch/hppa/spmath/sfadd.c Mon Jan 17 20:38:49 2022 +0000
+++ b/sys/arch/hppa/spmath/sfadd.c Mon Jan 17 20:56:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfadd.c,v 1.5 2012/02/04 17:03:10 skrll Exp $ */
+/* $NetBSD: sfadd.c,v 1.6 2022/01/17 20:56:02 andvar Exp $ */
/* $OpenBSD: sfadd.c,v 1.4 2001/03/29 03:58:19 mickey Exp $ */
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfadd.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfadd.c,v 1.6 2022/01/17 20:56:02 andvar Exp $");
#include "../spmath/float.h"
#include "../spmath/sgl_float.h"
@@ -300,7 +300,7 @@
if(Sgl_iszero_hidden(result))
{
/* Handle normalization */
- /* A straight foward algorithm would now shift the result
+ /* A straight forward algorithm would now shift the result
* and extension left until the hidden bit becomes one. Not
* all of the extension bits need participate in the shift.
* Only the two most significant bits (round and guard) are
diff -r 05e577f89f29 -r 01edcff35cac sys/arch/hppa/spmath/sfsub.c
--- a/sys/arch/hppa/spmath/sfsub.c Mon Jan 17 20:38:49 2022 +0000
+++ b/sys/arch/hppa/spmath/sfsub.c Mon Jan 17 20:56:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfsub.c,v 1.5 2012/02/04 17:03:11 skrll Exp $ */
+/* $NetBSD: sfsub.c,v 1.6 2022/01/17 20:56:02 andvar Exp $ */
/* $OpenBSD: sfsub.c,v 1.4 2001/03/29 03:58:19 mickey Exp $ */
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfsub.c,v 1.5 2012/02/04 17:03:11 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfsub.c,v 1.6 2022/01/17 20:56:02 andvar Exp $");
#include "../spmath/float.h"
#include "../spmath/sgl_float.h"
@@ -303,7 +303,7 @@
if(Sgl_iszero_hidden(result))
{
/* Handle normalization */
- /* A straight foward algorithm would now shift the result
+ /* A straight forward algorithm would now shift the result
* and extension left until the hidden bit becomes one. Not
* all of the extension bits need participate in the shift.
* Only the two most significant bits (round and guard) are
diff -r 05e577f89f29 -r 01edcff35cac sys/arch/sparc64/dev/zsvar.h
--- a/sys/arch/sparc64/dev/zsvar.h Mon Jan 17 20:38:49 2022 +0000
+++ b/sys/arch/sparc64/dev/zsvar.h Mon Jan 17 20:56:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zsvar.h,v 1.6 2008/03/29 19:15:35 tsutsui Exp $ */
+/* $NetBSD: zsvar.h,v 1.7 2022/01/17 20:56:02 andvar Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -86,7 +86,7 @@
#define ZRING_VALUE(x) ((x) >> 8)
#define ZRING_MAKE(t, v) ((t) | (v) << 8)
-/* forard decl */
+/* forward decl */
struct zs_softc;
struct zs_chanstate {
diff -r 05e577f89f29 -r 01edcff35cac sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Mon Jan 17 20:38:49 2022 +0000
+++ b/sys/arch/x86/include/specialreg.h Mon Jan 17 20:56:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: specialreg.h,v 1.186 2022/01/15 10:59:40 msaitoh Exp $ */
+/* $NetBSD: specialreg.h,v 1.187 2022/01/17 20:56:02 andvar Exp $ */
/*
* Copyright (c) 2014-2020 The NetBSD Foundation, Inc.
@@ -800,7 +800,7 @@
#define CPUID_CAPEX_SSBD __BIT(24) /* Speculation Control SSBD */
#define CPUID_CAPEX_VIRT_SSBD __BIT(25) /* Virt Spec Control SSBD */
#define CPUID_CAPEX_SSB_NO __BIT(26) /* SSBD not required */
-#define CPUID_CAPEX_PSFD __BIT(28) /* Predictive Store Froward Dis */
+#define CPUID_CAPEX_PSFD __BIT(28) /* Predictive Store Forward Dis */
#define CPUID_CAPEX_FLAGS "\20" \
"\1CLZERO" "\2IRPERF" "\3XSAVEERPTR" \
diff -r 05e577f89f29 -r 01edcff35cac sys/dev/ic/dc21040reg.h
--- a/sys/dev/ic/dc21040reg.h Mon Jan 17 20:38:49 2022 +0000
+++ b/sys/dev/ic/dc21040reg.h Mon Jan 17 20:56:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dc21040reg.h,v 1.20 2021/08/13 20:47:55 andvar Exp $ */
+/* $NetBSD: dc21040reg.h,v 1.21 2022/01/17 20:56:02 andvar Exp $ */
/*-
* Copyright (c) 1994, 1995, 1996 Matt Thomas <matt%3am-software.com@localhost>
@@ -173,7 +173,7 @@
#define TULIP_CMD_SCRAMBLER 0x01000000L /* (RW) Scrambler Mode (21140) */
#define TULIP_CMD_PCSFUNCTION 0x00800000L /* (RW) PCS Function (21140) */
#define TULIP_CMD_TXTHRSHLDCTL 0x00400000L /* (RW) Transmit Threshold Mode (21140) */
-#define TULIP_CMD_STOREFWD 0x00200000L /* (RW) Store and Foward (21140) */
+#define TULIP_CMD_STOREFWD 0x00200000L /* (RW) Store and Forward (21140) */
#define TULIP_CMD_NOHEARTBEAT 0x00080000L /* (RW) No Heartbeat (21140) */
#define TULIP_CMD_PORTSELECT 0x00040000L /* (RW) Post Select (100Mb) (21140) */
#define TULIP_CMD_ENHCAPTEFFCT 0x00040000L /* (RW) Enhanced Capture Effect (21041) */
diff -r 05e577f89f29 -r 01edcff35cac sys/net/if_ipsec.h
--- a/sys/net/if_ipsec.h Mon Jan 17 20:38:49 2022 +0000
+++ b/sys/net/if_ipsec.h Mon Jan 17 20:56:02 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ipsec.h,v 1.7 2020/02/01 02:57:55 riastradh Exp $ */
+/* $NetBSD: if_ipsec.h,v 1.8 2022/01/17 20:56:03 andvar Exp $ */
/*
* Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -61,7 +61,7 @@
#define IFF_NAT_T IFF_LINK0 /* enable NAT-T */
#define IFF_ECN IFF_LINK1 /* enable ECN */
-#define IFF_FWD_IPV6 IFF_LINK2 /* foward IPv6 packet */
+#define IFF_FWD_IPV6 IFF_LINK2 /* forward IPv6 packet */
extern struct psref_class *iv_psref_class;
Home |
Main Index |
Thread Index |
Old Index