Module Name: src
Committed By: andvar
Date: Mon Feb 24 07:11:24 UTC 2025
Modified Files:
src/sys/arch/hppa/include: pdc.h
src/sys/arch/mips/cavium/dev: octeon_gmx.c
src/sys/crypto/des: des_locl.h
src/sys/dev/pci: if_vte.c
Log Message:
fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hppa/include/pdc.h
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/mips/cavium/dev/octeon_gmx.c
cvs rdiff -u -r1.5 -r1.6 src/sys/crypto/des/des_locl.h
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pci/if_vte.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/hppa/include/pdc.h
diff -u src/sys/arch/hppa/include/pdc.h:1.2 src/sys/arch/hppa/include/pdc.h:1.3
--- src/sys/arch/hppa/include/pdc.h:1.2 Sun Mar 26 19:10:33 2023
+++ src/sys/arch/hppa/include/pdc.h Mon Feb 24 07:11:24 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: pdc.h,v 1.2 2023/03/26 19:10:33 andvar Exp $ */
+/* $NetBSD: pdc.h,v 1.3 2025/02/24 07:11:24 andvar Exp $ */
/* $OpenBSD: pdc.h,v 1.35 2007/07/15 20:03:48 kettenis Exp $ */
@@ -685,7 +685,7 @@ struct boot_err {
be_chas : 16; /* error code (interpret as 4 hex digits) */
};
-#define HPBE_HBOOT_CORRECTABLE 0 /* hard-boot corrctable error */
+#define HPBE_HBOOT_CORRECTABLE 0 /* hard-boot correctable error */
#define HPBE_HBOOT_UNCORRECTBL 1 /* hard-boot uncorrectable error */
#define HPBE_SBOOT_CORRECTABLE 2 /* soft-boot correctable error */
#define HPBE_SBOOT_UNCORRECTBL 3 /* soft-boot uncorrectable error */
Index: src/sys/arch/mips/cavium/dev/octeon_gmx.c
diff -u src/sys/arch/mips/cavium/dev/octeon_gmx.c:1.24 src/sys/arch/mips/cavium/dev/octeon_gmx.c:1.25
--- src/sys/arch/mips/cavium/dev/octeon_gmx.c:1.24 Sat Jun 29 12:11:11 2024
+++ src/sys/arch/mips/cavium/dev/octeon_gmx.c Mon Feb 24 07:11:24 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: octeon_gmx.c,v 1.24 2024/06/29 12:11:11 riastradh Exp $ */
+/* $NetBSD: octeon_gmx.c,v 1.25 2025/02/24 07:11:24 andvar Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_gmx.c,v 1.24 2024/06/29 12:11:11 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_gmx.c,v 1.25 2025/02/24 07:11:24 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -331,7 +331,7 @@ octgmx_init(struct octgmx_softc *sc)
else
sc->sc_port_types[0] = GMX_MII_PORT;
if ((inf_mode & INF_MODE_TYPE) == 0) {
- /* port 1 and 2 are configred as RGMII ports */
+ /* port 1 and 2 are configured as RGMII ports */
sc->sc_nports = 3;
sc->sc_port_types[1] = GMX_RGMII_PORT;
sc->sc_port_types[2] = GMX_RGMII_PORT;
Index: src/sys/crypto/des/des_locl.h
diff -u src/sys/crypto/des/des_locl.h:1.5 src/sys/crypto/des/des_locl.h:1.6
--- src/sys/crypto/des/des_locl.h:1.5 Mon Feb 4 08:23:53 2019
+++ src/sys/crypto/des/des_locl.h Mon Feb 24 07:11:24 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: des_locl.h,v 1.5 2019/02/04 08:23:53 mrg Exp $ */
+/* $NetBSD: des_locl.h,v 1.6 2025/02/24 07:11:24 andvar Exp $ */
/* $KAME: des_locl.h,v 1.6 2000/11/06 13:58:09 itojun Exp $ */
/* crypto/des/des_locl.h */
@@ -129,7 +129,7 @@
t=R^s[S+1]
/* The changes to this macro may help or hinder, depending on the
- * compiler and the achitecture. gcc2 always seems to do well :-).
+ * compiler and the architecture. gcc2 always seems to do well :-).
* Inspired by Dana How <[email protected]>
* DO NOT use the alternative version on machines with 8 byte longs.
* It does not seem to work on the Alpha, even when DES_LONG is 4
Index: src/sys/dev/pci/if_vte.c
diff -u src/sys/dev/pci/if_vte.c:1.38 src/sys/dev/pci/if_vte.c:1.39
--- src/sys/dev/pci/if_vte.c:1.38 Thu Sep 5 17:54:02 2024
+++ src/sys/dev/pci/if_vte.c Mon Feb 24 07:11:23 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vte.c,v 1.38 2024/09/05 17:54:02 andvar Exp $ */
+/* $NetBSD: if_vte.c,v 1.39 2025/02/24 07:11:23 andvar Exp $ */
/*
* Copyright (c) 2011 Manuel Bouyer. All rights reserved.
@@ -55,7 +55,7 @@
/* Driver for DM&P Electronics, Inc, Vortex86 RDC R6040 FastEthernet. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vte.c,v 1.38 2024/09/05 17:54:02 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vte.c,v 1.39 2025/02/24 07:11:23 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1169,7 +1169,7 @@ vte_rxeof(struct vte_softc *sc)
* A couple of severe issues were seen on sample
* board where the controller continuously emits TX
* pause frames once RX pause threshold crossed.
- * Once triggered it never recovered form that
+ * Once triggered it never recovered from that
* state, I couldn't find a way to make it back to
* work at least. This issue effectively
* disconnected the system from network. Also, the