Module Name: src Committed By: andvar Date: Sun Dec 12 13:05:14 UTC 2021
Modified Files: src/sys/arch/atari/atari: atari_init.c src/sys/arch/evbarm/stand/boot2440: dm9000.c src/sys/dev/audio: audio.c src/sys/dev/ic: isp.c isp_target.c isp_tpublic.h src/sys/dev/pci: if_bnxreg.h src/sys/dev/sbus: bereg.h src/sys/net: if_slvar.h src/usr.bin/error: main.c Log Message: fix various typos, mainly in comments. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/atari/atari/atari_init.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/stand/boot2440/dm9000.c cvs rdiff -u -r1.112 -r1.113 src/sys/dev/audio/audio.c cvs rdiff -u -r1.134 -r1.135 src/sys/dev/ic/isp.c cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/isp_target.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ic/isp_tpublic.h cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/if_bnxreg.h cvs rdiff -u -r1.9 -r1.10 src/sys/dev/sbus/bereg.h cvs rdiff -u -r1.34 -r1.35 src/sys/net/if_slvar.h cvs rdiff -u -r1.21 -r1.22 src/usr.bin/error/main.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/atari/atari/atari_init.c diff -u src/sys/arch/atari/atari/atari_init.c:1.102 src/sys/arch/atari/atari/atari_init.c:1.103 --- src/sys/arch/atari/atari/atari_init.c:1.102 Tue Aug 17 22:00:27 2021 +++ src/sys/arch/atari/atari/atari_init.c Sun Dec 12 13:05:13 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: atari_init.c,v 1.102 2021/08/17 22:00:27 andvar Exp $ */ +/* $NetBSD: atari_init.c,v 1.103 2021/12/12 13:05:13 andvar Exp $ */ /* * Copyright (c) 1995 Leo Weppelman @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.102 2021/08/17 22:00:27 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.103 2021/12/12 13:05:13 andvar Exp $"); #include "opt_ddb.h" #include "opt_mbtype.h" @@ -698,7 +698,7 @@ start_c(int id, u_int ttphystart, u_int #if defined(_MILANHW_) /* - * Probe and return available memory size in MB at specfied address. + * Probe and return available memory size in MB at specified address. * The first slot SIMM have at least 16MB, so check if it has 32 or 64 MB. * * Note it seems Milan does not generate bus errors on accesses against @@ -762,7 +762,7 @@ milan_probe_bank_1(paddr_t start_paddr) } /* - * Probe and return available memory size in MB at specfied address. + * Probe and return available memory size in MB at specified address. * The rest slot could be empty so check all possible size. */ static u_int Index: src/sys/arch/evbarm/stand/boot2440/dm9000.c diff -u src/sys/arch/evbarm/stand/boot2440/dm9000.c:1.3 src/sys/arch/evbarm/stand/boot2440/dm9000.c:1.4 --- src/sys/arch/evbarm/stand/boot2440/dm9000.c:1.3 Wed Mar 29 09:04:35 2017 +++ src/sys/arch/evbarm/stand/boot2440/dm9000.c Sun Dec 12 13:05:13 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: dm9000.c,v 1.3 2017/03/29 09:04:35 msaitoh Exp $ */ +/* $NetBSD: dm9000.c,v 1.4 2021/12/12 13:05:13 andvar Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. @@ -70,7 +70,7 @@ #define RCR_DIS_CRC 0x10 /* discard CRC error Rx frame */ #define RCR_ALL 0x08 /* accept MCAST frames */ #define RCR_RUNT 0x04 /* accept runt Rx frame */ -#define RCR_PRMSC 0x02 /* promiscous */ +#define RCR_PRMSC 0x02 /* promiscuous */ #define RCR_RXEN 0x01 /* enable frame reception */ #define RSR 0x06 /* RX status */ #define RSR_MF (1<<6) /* bcast/mcast frame found */ Index: src/sys/dev/audio/audio.c diff -u src/sys/dev/audio/audio.c:1.112 src/sys/dev/audio/audio.c:1.113 --- src/sys/dev/audio/audio.c:1.112 Fri Dec 10 20:36:03 2021 +++ src/sys/dev/audio/audio.c Sun Dec 12 13:05:13 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: audio.c,v 1.112 2021/12/10 20:36:03 andvar Exp $ */ +/* $NetBSD: audio.c,v 1.113 2021/12/12 13:05:13 andvar Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -138,7 +138,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.112 2021/12/10 20:36:03 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.113 2021/12/12 13:05:13 andvar Exp $"); #ifdef _KERNEL_OPT #include "audio.h" @@ -7314,7 +7314,7 @@ audio_track_setinfo_check(audio_track_t } /* - * Change water marks for playback track if specfied. + * Change water marks for playback track if specified. */ static void audio_track_setinfo_water(audio_track_t *track, const struct audio_info *ai) Index: src/sys/dev/ic/isp.c diff -u src/sys/dev/ic/isp.c:1.134 src/sys/dev/ic/isp.c:1.135 --- src/sys/dev/ic/isp.c:1.134 Sun Dec 12 09:00:07 2021 +++ src/sys/dev/ic/isp.c Sun Dec 12 13:05:14 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: isp.c,v 1.134 2021/12/12 09:00:07 andvar Exp $ */ +/* $NetBSD: isp.c,v 1.135 2021/12/12 13:05:14 andvar Exp $ */ /* * Machine and OS Independent (well, as best as possible) * code for the Qlogic ISP SCSI adapters. @@ -43,7 +43,7 @@ */ #ifdef __NetBSD__ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.134 2021/12/12 09:00:07 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: isp.c,v 1.135 2021/12/12 13:05:14 andvar Exp $"); #include <dev/ic/isp_netbsd.h> #endif #ifdef __FreeBSD__ @@ -889,7 +889,7 @@ isp_reset(ispsoftc_t *isp, int do_load_d * three chunks. We loaded the first at the code_org * address. The other two chunks, which follow right * after each other in memory here, get loaded at - * addresses specfied at offset 0x9..0xB. + * addresses specified at offset 0x9..0xB. */ nxtaddr = ptr[3]; @@ -3919,7 +3919,7 @@ isp_login_device(ispsoftc_t *isp, int ch break; } else if ((r & 0xffff) == MBOX_PORT_ID_USED) { /* - * If we get here, then the firmwware still thinks we're logged into this device, but with a different + * If we get here, then the firmware still thinks we're logged into this device, but with a different * handle. We need to break that association. We used to try and just substitute the handle, but then * failed to get any data via isp_getpdb (below). */ @@ -6709,7 +6709,7 @@ static const uint32_t mbpscsi[] = { ISPOPMAP(0xdf, 0xdf), /* 0x51: DUMP RAM A64 */ ISPOPMAP(0xdf, 0xff), /* 0x52: INITIALIZE REQUEST QUEUE A64 */ ISPOPMAP(0xef, 0xff), /* 0x53: INITIALIZE RESPONSE QUEUE A64 */ - ISPOPMAP(0xcf, 0x01), /* 0x54: EXECUCUTE COMMAND IOCB A64 */ + ISPOPMAP(0xcf, 0x01), /* 0x54: EXECUTE COMMAND IOCB A64 */ ISPOPMAP(0x07, 0x01), /* 0x55: ENABLE TARGET MODE */ ISPOPMAP(0x03, 0x0f), /* 0x56: GET TARGET STATUS */ ISPOPMAP(0x00, 0x00), /* 0x57: */ @@ -6718,7 +6718,7 @@ static const uint32_t mbpscsi[] = { ISPOPMAP(0x03, 0x03), /* 0x5a: SET DATA OVERRUN RECOVERY MODE */ ISPOPMAP(0x01, 0x03), /* 0x5b: GET DATA OVERRUN RECOVERY MODE */ ISPOPMAP(0x0f, 0x0f), /* 0x5c: SET HOST DATA */ - ISPOPMAP(0x01, 0x01) /* 0x5d: GET NOST DATA */ + ISPOPMAP(0x01, 0x01) /* 0x5d: GET HOST DATA */ }; static const char *scsi_mbcmd_names[] = { @@ -6815,7 +6815,7 @@ static const char *scsi_mbcmd_names[] = "SET DATA OVERRUN RECOVERY MODE", "GET DATA OVERRUN RECOVERY MODE", "SET HOST DATA", - "GET NOST DATA", + "GET HOST DATA", }; static const uint32_t mbpfc[] = { Index: src/sys/dev/ic/isp_target.c diff -u src/sys/dev/ic/isp_target.c:1.36 src/sys/dev/ic/isp_target.c:1.37 --- src/sys/dev/ic/isp_target.c:1.36 Sat Aug 21 11:55:25 2021 +++ src/sys/dev/ic/isp_target.c Sun Dec 12 13:05:14 2021 @@ -1,4 +1,4 @@ --/* $NetBSD: isp_target.c,v 1.36 2021/08/21 11:55:25 andvar Exp $ */ +-/* $NetBSD: isp_target.c,v 1.37 2021/12/12 13:05:14 andvar Exp $ */ /*- * Copyright (c) 1997-2008 by Matthew Jacob * All rights reserved. @@ -65,7 +65,7 @@ #ifdef __NetBSD__ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: isp_target.c,v 1.36 2021/08/21 11:55:25 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: isp_target.c,v 1.37 2021/12/12 13:05:14 andvar Exp $"); #include <dev/ic/isp_netbsd.h> #endif #ifdef __FreeBSD__ @@ -97,7 +97,7 @@ static void isp_handle_24xx_inotify(isps /* * The Qlogic driver gets an interrupt to look at response queue entries. - * Some of these are status completions for initiatior mode commands, but + * Some of these are status completions for initiator mode commands, but * if target mode is enabled, we get a whole wad of response queue entries * to be handled here. * @@ -123,7 +123,7 @@ static void isp_handle_24xx_inotify(isps * The third group that can show up in the response queue are Immediate * Notification events. These include things like notifications of SCSI bus * resets, or Bus Device Reset messages or other messages received. This - * a classic oddbins area. It can get a little weird because you then turn + * a classic oddbins area. It can get a little weird because you then turn * around and acknowledge the Immediate Notify by writing an entry onto the * request queue and then the f/w turns around and gives you an acknowledgement * to *your* acknowledgement on the response queue (the idea being to let @@ -138,7 +138,7 @@ static void isp_handle_24xx_inotify(isps * * Because of the way this driver is designed, unfortunately most of the * actual synchronization work has to be done in the platform specific - * code- we have no synchroniation primitives in the common code. + * code- we have no synchronization primitives in the common code. */ int Index: src/sys/dev/ic/isp_tpublic.h diff -u src/sys/dev/ic/isp_tpublic.h:1.20 src/sys/dev/ic/isp_tpublic.h:1.21 --- src/sys/dev/ic/isp_tpublic.h:1.20 Wed Aug 19 02:19:07 2020 +++ src/sys/dev/ic/isp_tpublic.h Sun Dec 12 13:05:14 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: isp_tpublic.h,v 1.20 2020/08/19 02:19:07 msaitoh Exp $ */ +/* $NetBSD: isp_tpublic.h,v 1.21 2021/12/12 13:05:14 andvar Exp $ */ /*- * Copyright (c) 1997-2008 by Matthew Jacob * All rights reserved. @@ -82,7 +82,7 @@ typedef enum { /* * This structure is used to register to the outer layer the * binding of an HBA identifier, driver name and instance and the - * lun width capapbilities of this inner layer. It's up to each + * lun width capabilities of this inner layer. It's up to each * platform to figure out how it wants to actually implement this. * A typical sequence would be for the MD layer to find some external * module's entry point and start by sending a QOUT_HBA_REG with info @@ -260,7 +260,7 @@ typedef struct tmd_xact { * must be inferred from the CDB. * * The tag cd_moved is the total amount of data moved so far. It is the - * responsibilty of the inner layer to set this for every transaction and + * responsibility of the inner layer to set this for every transaction and * to keep track of it so that transport level residuals may be correctly * set. * Index: src/sys/dev/pci/if_bnxreg.h diff -u src/sys/dev/pci/if_bnxreg.h:1.27 src/sys/dev/pci/if_bnxreg.h:1.28 --- src/sys/dev/pci/if_bnxreg.h:1.27 Sat Feb 13 16:33:30 2021 +++ src/sys/dev/pci/if_bnxreg.h Sun Dec 12 13:05:14 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_bnxreg.h,v 1.27 2021/02/13 16:33:30 jakllsch Exp $ */ +/* $NetBSD: if_bnxreg.h,v 1.28 2021/12/12 13:05:14 andvar Exp $ */ /* $OpenBSD: if_bnxreg.h,v 1.33 2009/09/05 16:02:28 claudio Exp $ */ /*- @@ -4634,7 +4634,7 @@ struct l2_fhdr { #define MB_RX_CID_ADDR BNX_MB_GET_CID_ADDR(RX_CID) /****************************************************************************/ -/* BNX Processor Firmwware Load Definitions */ +/* BNX Processor Firmware Load Definitions */ /****************************************************************************/ struct cpu_reg { Index: src/sys/dev/sbus/bereg.h diff -u src/sys/dev/sbus/bereg.h:1.9 src/sys/dev/sbus/bereg.h:1.10 --- src/sys/dev/sbus/bereg.h:1.9 Sat Sep 19 11:53:42 2009 +++ src/sys/dev/sbus/bereg.h Sun Dec 12 13:05:14 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: bereg.h,v 1.9 2009/09/19 11:53:42 tsutsui Exp $ */ +/* $NetBSD: bereg.h,v 1.10 2021/12/12 13:05:14 andvar Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -194,7 +194,7 @@ struct be_bregs { #define BE_BR_RXCFG_ENABLE 0x00000001 /* enable the receiver */ #define BE_BR_RXCFG_FIFO 0x0000000e /* default rx fthresh */ #define BE_BR_RXCFG_PSTRIP 0x00000020 /* pad byte strip enable */ -#define BE_BR_RXCFG_PMISC 0x00000040 /* enable promiscous mode */ +#define BE_BR_RXCFG_PMISC 0x00000040 /* enable promiscuous mode */ #define BE_BR_RXCFG_DERR 0x00000080 /* disable error checking */ #define BE_BR_RXCFG_DCRCS 0x00000100 /* disable crc stripping */ #define BE_BR_RXCFG_ME 0x00000200 /* receive packets for me */ Index: src/sys/net/if_slvar.h diff -u src/sys/net/if_slvar.h:1.34 src/sys/net/if_slvar.h:1.35 --- src/sys/net/if_slvar.h:1.34 Thu Jul 11 03:49:51 2019 +++ src/sys/net/if_slvar.h Sun Dec 12 13:05:14 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: if_slvar.h,v 1.34 2019/07/11 03:49:51 msaitoh Exp $ */ +/* $NetBSD: if_slvar.h,v 1.35 2021/12/12 13:05:14 andvar Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -53,7 +53,7 @@ struct sl_softc { u_int sc_flags; /* see below */ u_int sc_escape; /* =1 if last char input was FRAME_ESCAPE */ long sc_lasttime; /* last time a char arrived */ - long sc_abortcount; /* number of abort esacpe chars */ + long sc_abortcount; /* number of abort escape chars */ long sc_starttime; /* time of first abort in window */ long sc_oqlen; /* previous output queue size */ long sc_otimeout; /* number of times output's stalled */ Index: src/usr.bin/error/main.c diff -u src/usr.bin/error/main.c:1.21 src/usr.bin/error/main.c:1.22 --- src/usr.bin/error/main.c:1.21 Wed Aug 17 13:11:22 2011 +++ src/usr.bin/error/main.c Sun Dec 12 13:05:14 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.21 2011/08/17 13:11:22 christos Exp $ */ +/* $NetBSD: main.c,v 1.22 2021/12/12 13:05:14 andvar Exp $ */ /* * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19 #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: main.c,v 1.21 2011/08/17 13:11:22 christos Exp $"); +__RCSID("$NetBSD: main.c,v 1.22 2021/12/12 13:05:14 andvar Exp $"); #endif /* not lint */ #include <signal.h> @@ -252,7 +252,7 @@ forkvi(int argc, char **argv) } } /* - * ed_agument's first argument is + * ed_argument's first argument is * a vi/ex compatible search argument * to find the first occurrence of ### */