Module Name: src Committed By: andvar Date: Mon Jan 17 20:56:03 UTC 2022
Modified Files: src/sys/arch/hppa/spmath: dfadd.c dfsub.c sfadd.c sfsub.c src/sys/arch/sparc64/dev: zsvar.h src/sys/arch/x86/include: specialreg.h src/sys/dev/ic: dc21040reg.h src/sys/net: if_ipsec.h Log Message: fix typos in comments, mainly s/foward/forward/. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hppa/spmath/dfadd.c \ src/sys/arch/hppa/spmath/dfsub.c src/sys/arch/hppa/spmath/sfadd.c \ src/sys/arch/hppa/spmath/sfsub.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/sparc64/dev/zsvar.h cvs rdiff -u -r1.186 -r1.187 src/sys/arch/x86/include/specialreg.h cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ic/dc21040reg.h cvs rdiff -u -r1.7 -r1.8 src/sys/net/if_ipsec.h 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/hppa/spmath/dfadd.c diff -u src/sys/arch/hppa/spmath/dfadd.c:1.5 src/sys/arch/hppa/spmath/dfadd.c:1.6 --- src/sys/arch/hppa/spmath/dfadd.c:1.5 Sat Feb 4 17:03:08 2012 +++ src/sys/arch/hppa/spmath/dfadd.c Mon Jan 17 20:56:02 2022 @@ -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 @@ dbl_fadd(dbl_floating_point *leftptr, db 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 Index: src/sys/arch/hppa/spmath/dfsub.c diff -u src/sys/arch/hppa/spmath/dfsub.c:1.5 src/sys/arch/hppa/spmath/dfsub.c:1.6 --- src/sys/arch/hppa/spmath/dfsub.c:1.5 Sat Feb 4 17:03:09 2012 +++ src/sys/arch/hppa/spmath/dfsub.c Mon Jan 17 20:56:02 2022 @@ -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 @@ dbl_fsub(dbl_floating_point *leftptr, db 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 Index: src/sys/arch/hppa/spmath/sfadd.c diff -u src/sys/arch/hppa/spmath/sfadd.c:1.5 src/sys/arch/hppa/spmath/sfadd.c:1.6 --- src/sys/arch/hppa/spmath/sfadd.c:1.5 Sat Feb 4 17:03:10 2012 +++ src/sys/arch/hppa/spmath/sfadd.c Mon Jan 17 20:56:02 2022 @@ -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 @@ sgl_fadd(sgl_floating_point *leftptr, sg 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 Index: src/sys/arch/hppa/spmath/sfsub.c diff -u src/sys/arch/hppa/spmath/sfsub.c:1.5 src/sys/arch/hppa/spmath/sfsub.c:1.6 --- src/sys/arch/hppa/spmath/sfsub.c:1.5 Sat Feb 4 17:03:11 2012 +++ src/sys/arch/hppa/spmath/sfsub.c Mon Jan 17 20:56:02 2022 @@ -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 @@ sgl_fsub(sgl_floating_point *leftptr, sg 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 Index: src/sys/arch/sparc64/dev/zsvar.h diff -u src/sys/arch/sparc64/dev/zsvar.h:1.6 src/sys/arch/sparc64/dev/zsvar.h:1.7 --- src/sys/arch/sparc64/dev/zsvar.h:1.6 Sat Mar 29 19:15:35 2008 +++ src/sys/arch/sparc64/dev/zsvar.h Mon Jan 17 20:56:02 2022 @@ -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 @@ struct zsdevice { #define ZRING_VALUE(x) ((x) >> 8) #define ZRING_MAKE(t, v) ((t) | (v) << 8) -/* forard decl */ +/* forward decl */ struct zs_softc; struct zs_chanstate { Index: src/sys/arch/x86/include/specialreg.h diff -u src/sys/arch/x86/include/specialreg.h:1.186 src/sys/arch/x86/include/specialreg.h:1.187 --- src/sys/arch/x86/include/specialreg.h:1.186 Sat Jan 15 10:59:40 2022 +++ src/sys/arch/x86/include/specialreg.h Mon Jan 17 20:56:02 2022 @@ -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" \ Index: src/sys/dev/ic/dc21040reg.h diff -u src/sys/dev/ic/dc21040reg.h:1.20 src/sys/dev/ic/dc21040reg.h:1.21 --- src/sys/dev/ic/dc21040reg.h:1.20 Fri Aug 13 20:47:55 2021 +++ src/sys/dev/ic/dc21040reg.h Mon Jan 17 20:56:02 2022 @@ -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 <m...@3am-software.com> @@ -173,7 +173,7 @@ typedef struct { #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) */ Index: src/sys/net/if_ipsec.h diff -u src/sys/net/if_ipsec.h:1.7 src/sys/net/if_ipsec.h:1.8 --- src/sys/net/if_ipsec.h:1.7 Sat Feb 1 02:57:55 2020 +++ src/sys/net/if_ipsec.h Mon Jan 17 20:56:03 2022 @@ -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;