Module Name: src Committed By: andvar Date: Sun Oct 24 20:00:12 UTC 2021
Modified Files: src/sys/arch/hpcsh/dev: psh3lcd.c src/sys/arch/mvme68k/stand/netboot: if_iereg.h src/sys/arch/sparc/dev: if_ie_obio.c src/sys/arch/sun2/dev: if_ie_mbmem.c if_ie_obio.c src/sys/arch/sun3/dev: if_ie.c if_iereg.h if_ievar.h xdreg.h src/sys/dev/ic: i82586.c src/sys/dev/pci: mlyreg.h src/sys/dev/vme: if_ie_vme.c xdreg.h src/sys/netinet: sctp.h src/usr.sbin/acpitools/aml: aml_parse.c Log Message: fix various typos in comments, mainly copypasta. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/hpcsh/dev/psh3lcd.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/mvme68k/stand/netboot/if_iereg.h cvs rdiff -u -r1.42 -r1.43 src/sys/arch/sparc/dev/if_ie_obio.c cvs rdiff -u -r1.12 -r1.13 src/sys/arch/sun2/dev/if_ie_mbmem.c cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sun2/dev/if_ie_obio.c cvs rdiff -u -r1.72 -r1.73 src/sys/arch/sun3/dev/if_ie.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/sun3/dev/if_iereg.h cvs rdiff -u -r1.16 -r1.17 src/sys/arch/sun3/dev/if_ievar.h cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sun3/dev/xdreg.h cvs rdiff -u -r1.89 -r1.90 src/sys/dev/ic/i82586.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/mlyreg.h cvs rdiff -u -r1.33 -r1.34 src/sys/dev/vme/if_ie_vme.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/vme/xdreg.h cvs rdiff -u -r1.4 -r1.5 src/sys/netinet/sctp.h cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/acpitools/aml/aml_parse.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/hpcsh/dev/psh3lcd.c diff -u src/sys/arch/hpcsh/dev/psh3lcd.c:1.7 src/sys/arch/hpcsh/dev/psh3lcd.c:1.8 --- src/sys/arch/hpcsh/dev/psh3lcd.c:1.7 Sat Nov 9 02:54:11 2013 +++ src/sys/arch/hpcsh/dev/psh3lcd.c Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: psh3lcd.c,v 1.7 2013/11/09 02:54:11 christos Exp $ */ +/* $NetBSD: psh3lcd.c,v 1.8 2021/10/24 20:00:11 andvar Exp $ */ /* * Copyright (c) 2005 KIYOHARA Takashi * All rights reserved. @@ -59,7 +59,7 @@ #define PSH3LCD_CONTRAST_UD 0x01 /* - * LCD brightness: controled by HG71C105FE at AREA2. + * LCD brightness: controlled by HG71C105FE at AREA2. * XXXX: That is custom IC. We don't know spec. X-< */ #define PSH3LCD_BRIGHTNESS_REG0 0xaa000072 Index: src/sys/arch/mvme68k/stand/netboot/if_iereg.h diff -u src/sys/arch/mvme68k/stand/netboot/if_iereg.h:1.1 src/sys/arch/mvme68k/stand/netboot/if_iereg.h:1.2 --- src/sys/arch/mvme68k/stand/netboot/if_iereg.h:1.1 Fri May 17 21:18:29 1996 +++ src/sys/arch/mvme68k/stand/netboot/if_iereg.h Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_iereg.h,v 1.1 1996/05/17 21:18:29 chuck Exp $ */ +/* $NetBSD: if_iereg.h,v 1.2 2021/10/24 20:00:11 andvar Exp $ */ /* * if_sunie.h @@ -68,7 +68,7 @@ * * note that the last entry of the page map maps the top of the * 24 bit address space and that the SCP is supposed to be at - * 0xfffff4 (taking into account allignment). so, + * 0xfffff4 (taking into account alignment). so, * for multibus, that entry in the page map has to be used for the SCP. * * the page map effects BOTH how the ie chip sees the @@ -99,7 +99,7 @@ * PTE for the page map */ #define IEVME_SBORDR 0x8000 /* sun byte order */ -#define IEVME_IBORDR 0x0000 /* intel byte ordr */ +#define IEVME_IBORDR 0x0000 /* intel byte order */ #define IEVME_P2MEM 0x2000 /* memory is on P2 */ #define IEVME_OBMEM 0x0000 /* memory is on board */ Index: src/sys/arch/sparc/dev/if_ie_obio.c diff -u src/sys/arch/sparc/dev/if_ie_obio.c:1.42 src/sys/arch/sparc/dev/if_ie_obio.c:1.43 --- src/sys/arch/sparc/dev/if_ie_obio.c:1.42 Thu Apr 25 10:08:45 2019 +++ src/sys/arch/sparc/dev/if_ie_obio.c Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie_obio.c,v 1.42 2019/04/25 10:08:45 msaitoh Exp $ */ +/* $NetBSD: if_ie_obio.c,v 1.43 2021/10/24 20:00:11 andvar Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -68,12 +68,12 @@ * sun-4/200's, and VME based suns. The byte order is all wrong for a * SUN, making life difficult. Programming this chip is mostly the same, * but certain details differ from system to system. This driver is - * written so that different "ie" interfaces can be controled by the same + * written so that different "ie" interfaces can be controlled by the same * driver. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ie_obio.c,v 1.42 2019/04/25 10:08:45 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ie_obio.c,v 1.43 2021/10/24 20:00:11 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> Index: src/sys/arch/sun2/dev/if_ie_mbmem.c diff -u src/sys/arch/sun2/dev/if_ie_mbmem.c:1.12 src/sys/arch/sun2/dev/if_ie_mbmem.c:1.13 --- src/sys/arch/sun2/dev/if_ie_mbmem.c:1.12 Thu Apr 25 10:08:45 2019 +++ src/sys/arch/sun2/dev/if_ie_mbmem.c Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie_mbmem.c,v 1.12 2019/04/25 10:08:45 msaitoh Exp $ */ +/* $NetBSD: if_ie_mbmem.c,v 1.13 2021/10/24 20:00:11 andvar Exp $ */ /* * Copyright (c) 1995 Charles D. Cranor @@ -35,7 +35,7 @@ * sun-4/200's, and VME based suns. The byte order is all wrong for a * SUN, making life difficult. Programming this chip is mostly the same, * but certain details differ from system to system. This driver is - * written so that different "ie" interfaces can be controled by the same + * written so that different "ie" interfaces can be controlled by the same * driver. */ @@ -101,7 +101,7 @@ * * Note that the last entry of the page map maps the top of the * 24 bit address space and that the SCP is supposed to be at - * 0xfffff4 (taking into account allignment). so, + * 0xfffff4 (taking into account alignment). so, * for multibus, that entry in the page map has to be used for the SCP. * * The page map effects BOTH how the ie chip sees the @@ -112,7 +112,7 @@ * The page map to control where ram appears in the address space. * We choose to have RAM start at 0 in the 24 bit address space. * - * to get the phyiscal address of the board's RAM you must take the + * to get the physical address of the board's RAM you must take the * top 12 bits of the physical address of the register address and * or in the 4 bits from the status word as bits 17-20 (remember that * the board ignores the chip's top 4 address lines). For example: @@ -140,7 +140,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ie_mbmem.c,v 1.12 2019/04/25 10:08:45 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ie_mbmem.c,v 1.13 2021/10/24 20:00:11 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -178,7 +178,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_ie_mbmem. * PTE for the page map */ #define IEMBMEM_SBORDR 0x8000 /* sun byte order */ -#define IEMBMEM_IBORDR 0x0000 /* intel byte ordr */ +#define IEMBMEM_IBORDR 0x0000 /* intel byte order */ #define IEMBMEM_P2MEM 0x2000 /* memory is on P2 */ #define IEMBMEM_OBMEM 0x0000 /* memory is on board */ Index: src/sys/arch/sun2/dev/if_ie_obio.c diff -u src/sys/arch/sun2/dev/if_ie_obio.c:1.17 src/sys/arch/sun2/dev/if_ie_obio.c:1.18 --- src/sys/arch/sun2/dev/if_ie_obio.c:1.17 Thu Apr 25 10:08:45 2019 +++ src/sys/arch/sun2/dev/if_ie_obio.c Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie_obio.c,v 1.17 2019/04/25 10:08:45 msaitoh Exp $ */ +/* $NetBSD: if_ie_obio.c,v 1.18 2021/10/24 20:00:11 andvar Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -68,12 +68,12 @@ * sun-4/200's, and VME based suns. The byte order is all wrong for a * SUN, making life difficult. Programming this chip is mostly the same, * but certain details differ from system to system. This driver is - * written so that different "ie" interfaces can be controled by the same + * written so that different "ie" interfaces can be controlled by the same * driver. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ie_obio.c,v 1.17 2019/04/25 10:08:45 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ie_obio.c,v 1.18 2021/10/24 20:00:11 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> Index: src/sys/arch/sun3/dev/if_ie.c diff -u src/sys/arch/sun3/dev/if_ie.c:1.72 src/sys/arch/sun3/dev/if_ie.c:1.73 --- src/sys/arch/sun3/dev/if_ie.c:1.72 Thu Mar 19 14:06:32 2020 +++ src/sys/arch/sun3/dev/if_ie.c Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie.c,v 1.72 2020/03/19 14:06:32 thorpej Exp $ */ +/* $NetBSD: if_ie.c,v 1.73 2021/10/24 20:00:11 andvar Exp $ */ /*- * Copyright (c) 1993, 1994, 1995 Charles M. Hannum. @@ -68,7 +68,7 @@ * sun-4/200's, and VME based suns. The byte order is all wrong for a * SUN, making life difficult. Programming this chip is mostly the same, * but certain details differ from system to system. This driver is - * written so that different "ie" interfaces can be controled by the same + * written so that different "ie" interfaces can be controlled by the same * driver. */ @@ -98,7 +98,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.72 2020/03/19 14:06:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.73 2021/10/24 20:00:11 andvar Exp $"); #include "opt_inet.h" #include "opt_ns.h" Index: src/sys/arch/sun3/dev/if_iereg.h diff -u src/sys/arch/sun3/dev/if_iereg.h:1.1 src/sys/arch/sun3/dev/if_iereg.h:1.2 --- src/sys/arch/sun3/dev/if_iereg.h:1.1 Mon Dec 12 18:59:09 1994 +++ src/sys/arch/sun3/dev/if_iereg.h Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_iereg.h,v 1.1 1994/12/12 18:59:09 gwr Exp $ */ +/* $NetBSD: if_iereg.h,v 1.2 2021/10/24 20:00:11 andvar Exp $ */ /* * if_sunie.h @@ -68,7 +68,7 @@ * * note that the last entry of the page map maps the top of the * 24 bit address space and that the SCP is supposed to be at - * 0xfffff4 (taking into account allignment). so, + * 0xfffff4 (taking into account alignment). so, * for multibus, that entry in the page map has to be used for the SCP. * * the page map effects BOTH how the ie chip sees the @@ -99,7 +99,7 @@ * PTE for the page map */ #define IEVME_SBORDR 0x8000 /* sun byte order */ -#define IEVME_IBORDR 0x0000 /* intel byte ordr */ +#define IEVME_IBORDR 0x0000 /* intel byte order */ #define IEVME_P2MEM 0x2000 /* memory is on P2 */ #define IEVME_OBMEM 0x0000 /* memory is on board */ Index: src/sys/arch/sun3/dev/if_ievar.h diff -u src/sys/arch/sun3/dev/if_ievar.h:1.16 src/sys/arch/sun3/dev/if_ievar.h:1.17 --- src/sys/arch/sun3/dev/if_ievar.h:1.16 Fri Sep 13 07:55:06 2019 +++ src/sys/arch/sun3/dev/if_ievar.h Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ievar.h,v 1.16 2019/09/13 07:55:06 msaitoh Exp $ */ +/* $NetBSD: if_ievar.h,v 1.17 2021/10/24 20:00:11 andvar Exp $ */ /* * Machine-dependent glue for the Intel Ethernet (ie) driver. @@ -35,7 +35,7 @@ enum ie_hardware { * on the vme/multibus we have the page map to control where ram appears * in the address space. we choose to have RAM start at 0 in the * 24 bit address space. this means that sc_iobase == sc_maddr! - * to get the phyiscal address of the board's RAM you must take the + * to get the physical address of the board's RAM you must take the * top 12 bits of the physical address of the register address * and or in the 4 bits from the status word as bits 17-20 (remember that * the board ignores the chip's top 4 address lines). Index: src/sys/arch/sun3/dev/xdreg.h diff -u src/sys/arch/sun3/dev/xdreg.h:1.7 src/sys/arch/sun3/dev/xdreg.h:1.8 --- src/sys/arch/sun3/dev/xdreg.h:1.7 Tue Feb 1 20:19:32 2011 +++ src/sys/arch/sun3/dev/xdreg.h Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: xdreg.h,v 1.7 2011/02/01 20:19:32 chuck Exp $ */ +/* $NetBSD: xdreg.h,v 1.8 2021/10/24 20:00:11 andvar Exp $ */ /* * Copyright (c) 1995 Charles D. Cranor @@ -74,7 +74,7 @@ struct xdc { * the driver in case it ever gets ported to an environment that needs it. */ -#define XDC_ADDRMOD 0x3d /* standard address modifer, 24 bit max */ +#define XDC_ADDRMOD 0x3d /* standard address modifier, 24 bit max */ #define XDC_ADDRMOD32 0x0d /* 32 bit version above */ /* @@ -182,7 +182,7 @@ struct xd_iopb { /* section 4.1.13: byte e */ volatile u_char addrmod; /* addr modifier (bits 7,6 must be zero) */ /* section 4.1.14: byte f */ - volatile u_char naddrmod; /* next (in chain) address iobp ad. modifer */ + volatile u_char naddrmod; /* next (in chain) address iobp ad. modifier */ /* section 4.1.15: bytes 0x10 to 0x13 */ volatile u_long daddr; /* DMA data address */ /* section 4.1.16: bytes 0x14 to 0x17 */ @@ -200,7 +200,7 @@ struct xd_iopb { * these commands include: * section 4.2: controller parameters * section 4.3: drive parameters - * sectino 4.4: format parameters + * section 4.4: format parameters * * note that the commands that overload the iopb are not part of the * "critical data path" of the driver. so, we handle them by defining @@ -236,7 +236,7 @@ struct xd_iopb_ctrl { /* section 4.2.3: byte a */ volatile u_char param_c; /* param C (see below) */ #define XDPC_OVS 0x80 /* over-lapped seek */ -#define XDPC_COP 0x40 /* command optimiziation (elevator alg.) */ +#define XDPC_COP 0x40 /* command optimization (elevator alg.) */ #define XDPC_ASR 0x10 /* auto-seek retry */ #define XDPC_RBC 0x04 /* retry before correction if ECC error */ #define XDPC_ECCM 0x03 /* ECC mode (0, 1, and 2) */ @@ -309,7 +309,7 @@ struct xd_iopb_drive { */ struct xd_iopb_format { - volatile u_char same[6]; /* smae as xd_iopb */ + volatile u_char same[6]; /* same as xd_iopb */ /* section 4.4.1: byte 6 */ volatile u_char interleave_ipl;/* (interleave << 4) | interrupt level */ /* interleave ratio 1:1 to 16:1 */ @@ -371,7 +371,7 @@ struct xd_iopb_format { #define XD_ERR_IF7 0x1b /* illegal field 7 */ #define XD_ERR_ISG 0x1c /* illegal scatter/gather */ #define XD_ERR_ISPT 0x1d /* not enough sectors per track */ -#define XD_ERR_ALGN 0x1e /* next iopb allignment error */ +#define XD_ERR_ALGN 0x1e /* next iopb alignment error */ #define XD_ERR_SGAL 0x1f /* scatter gather address alignment error */ #define XD_ERR_SGEC 0x20 /* scatter gather with auto ECC */ /* successfully recovered soft errors */ @@ -410,9 +410,9 @@ struct xd_iopb_format { #define XD_ERR_MT6 0xe6 /* maint test 6 failed (REGCEL chip) */ #define XD_ERR_MT7 0xe7 /* maint test 7 failed (buff. parity) */ #define XD_ERR_MT8 0xe8 /* maint test 8 failed (fifo) */ -#define XD_ERR_IOCK 0xf0 /* iopb checksume miscompare */ +#define XD_ERR_IOCK 0xf0 /* iopb checksum miscompare */ #define XD_ERR_IODM 0xf1 /* iopb DMA fatal */ -#define XD_ERR_IOAL 0xf2 /* iopb allignment error */ +#define XD_ERR_IOAL 0xf2 /* iopb alignment error */ #define XD_ERR_FIRM 0xf3 /* firmware error n*/ #define XD_ERR_MMOD 0xf5 /* illegal maint mode test number */ #define XD_ERR_ACFL 0xf6 /* ACFAIL asserted */ Index: src/sys/dev/ic/i82586.c diff -u src/sys/dev/ic/i82586.c:1.89 src/sys/dev/ic/i82586.c:1.90 --- src/sys/dev/ic/i82586.c:1.89 Thu Mar 19 14:10:56 2020 +++ src/sys/dev/ic/i82586.c Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: i82586.c,v 1.89 2020/03/19 14:10:56 thorpej Exp $ */ +/* $NetBSD: i82586.c,v 1.90 2021/10/24 20:00:11 andvar Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -96,7 +96,7 @@ * sun-4/200's, and VME based suns. The byte order is all wrong for a * SUN, making life difficult. Programming this chip is mostly the same, * but certain details differ from system to system. This driver is - * written so that different "ie" interfaces can be controled by the same + * written so that different "ie" interfaces can be controlled by the same * driver. */ @@ -137,7 +137,7 @@ Mode of operation: */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.89 2020/03/19 14:10:56 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: i82586.c,v 1.90 2021/10/24 20:00:11 andvar Exp $"); #include <sys/param.h> Index: src/sys/dev/pci/mlyreg.h diff -u src/sys/dev/pci/mlyreg.h:1.7 src/sys/dev/pci/mlyreg.h:1.8 --- src/sys/dev/pci/mlyreg.h:1.7 Sat Dec 28 03:09:18 2019 +++ src/sys/dev/pci/mlyreg.h Sun Oct 24 20:00:11 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mlyreg.h,v 1.7 2019/12/28 03:09:18 gutteridge Exp $ */ +/* $NetBSD: mlyreg.h,v 1.8 2021/10/24 20:00:11 andvar Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -387,8 +387,8 @@ struct mly_status { #define MDACMD_MEMCOPY 0x1 /* memory to memory copy */ #define MDACMD_SCSIPT 0x2 /* SCSI passthrough (small command) */ #define MDACMD_SCSILCPT 0x3 /* SCSI passthrough (large command) */ -#define MDACMD_SCSI 0x4 /* SCSI command for logical/phyiscal device (small command) */ -#define MDACMD_SCSILC 0x5 /* SCSI command for logical/phyiscal device (large command) */ +#define MDACMD_SCSI 0x4 /* SCSI command for logical/physical device (small command) */ +#define MDACMD_SCSILC 0x5 /* SCSI command for logical/physical device (large command) */ #define MDACMD_IOCTL 0x20 /* Management command */ #define MDACMD_IOCTLCHECK 0x23 /* Validate management command (not implemented) */ Index: src/sys/dev/vme/if_ie_vme.c diff -u src/sys/dev/vme/if_ie_vme.c:1.33 src/sys/dev/vme/if_ie_vme.c:1.34 --- src/sys/dev/vme/if_ie_vme.c:1.33 Fri Aug 14 10:31:40 2020 +++ src/sys/dev/vme/if_ie_vme.c Sun Oct 24 20:00:12 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ie_vme.c,v 1.33 2020/08/14 10:31:40 martin Exp $ */ +/* $NetBSD: if_ie_vme.c,v 1.34 2021/10/24 20:00:12 andvar Exp $ */ /* * Copyright (c) 1995 Charles D. Cranor @@ -35,7 +35,7 @@ * sun-4/200's, and VME based suns. The byte order is all wrong for a * SUN, making life difficult. Programming this chip is mostly the same, * but certain details differ from system to system. This driver is - * written so that different "ie" interfaces can be controled by the same + * written so that different "ie" interfaces can be controlled by the same * driver. */ @@ -101,7 +101,7 @@ * * Note that the last entry of the page map maps the top of the * 24 bit address space and that the SCP is supposed to be at - * 0xfffff4 (taking into account allignment). so, + * 0xfffff4 (taking into account alignment). so, * for multibus, that entry in the page map has to be used for the SCP. * * The page map effects BOTH how the ie chip sees the @@ -112,7 +112,7 @@ * The page map to control where ram appears in the address space. * We choose to have RAM start at 0 in the 24 bit address space. * - * to get the phyiscal address of the board's RAM you must take the + * to get the physical address of the board's RAM you must take the * top 12 bits of the physical address of the register address and * or in the 4 bits from the status word as bits 17-20 (remember that * the board ignores the chip's top 4 address lines). For example: @@ -140,7 +140,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ie_vme.c,v 1.33 2020/08/14 10:31:40 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ie_vme.c,v 1.34 2021/10/24 20:00:12 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -176,7 +176,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_ie_vme.c, * PTE for the page map */ #define IEVME_SBORDR 0x8000 /* sun byte order */ -#define IEVME_IBORDR 0x0000 /* intel byte ordr */ +#define IEVME_IBORDR 0x0000 /* intel byte order */ #define IEVME_P2MEM 0x2000 /* memory is on P2 */ #define IEVME_OBMEM 0x0000 /* memory is on board */ Index: src/sys/dev/vme/xdreg.h diff -u src/sys/dev/vme/xdreg.h:1.7 src/sys/dev/vme/xdreg.h:1.8 --- src/sys/dev/vme/xdreg.h:1.7 Tue Feb 1 19:36:24 2011 +++ src/sys/dev/vme/xdreg.h Sun Oct 24 20:00:12 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: xdreg.h,v 1.7 2011/02/01 19:36:24 chuck Exp $ */ +/* $NetBSD: xdreg.h,v 1.8 2021/10/24 20:00:12 andvar Exp $ */ /* * Copyright (c) 1995 Charles D. Cranor @@ -74,7 +74,7 @@ struct xdc { * the driver in case it ever gets ported to an environment that needs it. */ -#define XDC_ADDRMOD 0x3d /* standard address modifer, 24 bit max */ +#define XDC_ADDRMOD 0x3d /* standard address modifier, 24 bit max */ #define XDC_ADDRMOD32 0x0d /* 32 bit version above */ /* @@ -182,7 +182,7 @@ struct xd_iopb { /* section 4.1.13: byte e */ volatile u_char addrmod; /* addr modifier (bits 7,6 must be zero) */ /* section 4.1.14: byte f */ - volatile u_char naddrmod; /* next (in chain) address iobp ad. modifer */ + volatile u_char naddrmod; /* next (in chain) address iobp ad. modifier */ /* section 4.1.15: bytes 0x10 to 0x13 */ volatile u_long daddr; /* DMA data address */ /* section 4.1.16: bytes 0x14 to 0x17 */ @@ -200,7 +200,7 @@ struct xd_iopb { * these commands include: * section 4.2: controller parameters * section 4.3: drive parameters - * sectino 4.4: format parameters + * section 4.4: format parameters * * note that the commands that overload the iopb are not part of the * "critical data path" of the driver. so, we handle them by defining @@ -236,7 +236,7 @@ struct xd_iopb_ctrl { /* section 4.2.3: byte a */ volatile u_char param_c; /* param C (see below) */ #define XDPC_OVS 0x80 /* over-lapped seek */ -#define XDPC_COP 0x40 /* command optimiziation (elevator alg.) */ +#define XDPC_COP 0x40 /* command optimization (elevator alg.) */ #define XDPC_ASR 0x10 /* auto-seek retry */ #define XDPC_RBC 0x04 /* retry before correction if ECC error */ #define XDPC_ECCM 0x03 /* ECC mode (0, 1, and 2) */ @@ -309,7 +309,7 @@ struct xd_iopb_drive { */ struct xd_iopb_format { - volatile u_char same[6]; /* smae as xd_iopb */ + volatile u_char same[6]; /* same as xd_iopb */ /* section 4.4.1: byte 6 */ volatile u_char interleave_ipl;/* (interleave << 4) | interrupt level */ /* interleave ratio 1:1 to 16:1 */ @@ -371,7 +371,7 @@ struct xd_iopb_format { #define XD_ERR_IF7 0x1b /* illegal field 7 */ #define XD_ERR_ISG 0x1c /* illegal scatter/gather */ #define XD_ERR_ISPT 0x1d /* not enough sectors per track */ -#define XD_ERR_ALGN 0x1e /* next iopb allignment error */ +#define XD_ERR_ALGN 0x1e /* next iopb alignment error */ #define XD_ERR_SGAL 0x1f /* scatter gather address alignment error */ #define XD_ERR_SGEC 0x20 /* scatter gather with auto ECC */ /* successfully recovered soft errors */ @@ -410,9 +410,9 @@ struct xd_iopb_format { #define XD_ERR_MT6 0xe6 /* maint test 6 failed (REGCEL chip) */ #define XD_ERR_MT7 0xe7 /* maint test 7 failed (buff. parity) */ #define XD_ERR_MT8 0xe8 /* maint test 8 failed (fifo) */ -#define XD_ERR_IOCK 0xf0 /* iopb checksume miscompare */ +#define XD_ERR_IOCK 0xf0 /* iopb checksum miscompare */ #define XD_ERR_IODM 0xf1 /* iopb DMA fatal */ -#define XD_ERR_IOAL 0xf2 /* iopb allignment error */ +#define XD_ERR_IOAL 0xf2 /* iopb alignment error */ #define XD_ERR_FIRM 0xf3 /* firmware error n*/ #define XD_ERR_MMOD 0xf5 /* illegal maint mode test number */ #define XD_ERR_ACFL 0xf6 /* ACFAIL asserted */ Index: src/sys/netinet/sctp.h diff -u src/sys/netinet/sctp.h:1.4 src/sys/netinet/sctp.h:1.5 --- src/sys/netinet/sctp.h:1.4 Mon Sep 6 21:56:04 2021 +++ src/sys/netinet/sctp.h Sun Oct 24 20:00:12 2021 @@ -1,5 +1,5 @@ /* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */ -/* $NetBSD: sctp.h,v 1.4 2021/09/06 21:56:04 andvar Exp $ */ +/* $NetBSD: sctp.h,v 1.5 2021/10/24 20:00:12 andvar Exp $ */ #ifndef _NETINET_SCTP_H_ #define _NETINET_SCTP_H_ @@ -107,7 +107,7 @@ struct sctp_paramhdr { * peeled off UDP model, but we do allow you to do so. You just use * the normal syscall to toggle SS_NBIO the way you want. */ -/* Blocking I/O is controled by the SS_NBIO flag on the +/* Blocking I/O is controlled by the SS_NBIO flag on the * socket state so_state field. */ #define SCTP_GET_SNDBUF_USE 0x0000000f Index: src/usr.sbin/acpitools/aml/aml_parse.c diff -u src/usr.sbin/acpitools/aml/aml_parse.c:1.4 src/usr.sbin/acpitools/aml/aml_parse.c:1.5 --- src/usr.sbin/acpitools/aml/aml_parse.c:1.4 Sat Oct 19 17:16:37 2013 +++ src/usr.sbin/acpitools/aml/aml_parse.c Sun Oct 24 20:00:12 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: aml_parse.c,v 1.4 2013/10/19 17:16:37 christos Exp $ */ +/* $NetBSD: aml_parse.c,v 1.5 2021/10/24 20:00:12 andvar Exp $ */ /*- * Copyright (c) 1999 Doug Rabson @@ -30,7 +30,7 @@ * $FreeBSD: src/usr.sbin/acpi/amldb/aml/aml_parse.c,v 1.7 2001/10/23 14:54:15 takawata Exp $ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: aml_parse.c,v 1.4 2013/10/19 17:16:37 christos Exp $"); +__RCSID("$NetBSD: aml_parse.c,v 1.5 2021/10/24 20:00:12 andvar Exp $"); #include <sys/param.h> @@ -714,7 +714,7 @@ aml_parse_field(struct aml_environ *env, template->bitlen = width; aml_print_namestring(name); AML_CREATE_NAME(aname, env, name, 0); - /* Allignment */ + /* Alignment */ if (width == 16) { template->bitoffset += 15; template->bitoffset &= (~15);