fix various typos in comments.

This commit is contained in:
andvar 2022-05-11 14:58:00 +00:00
parent 25fd8e90e3
commit adb5d710d2
8 changed files with 30 additions and 30 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: term.h,v 1.25 2021/12/10 20:36:02 andvar Exp $ */
/* $NetBSD: term.h,v 1.26 2022/05/11 14:58:00 andvar Exp $ */
/*
* Copyright (c) 2009, 2010, 2011, 2013, 2020 The NetBSD Foundation, Inc.
@ -319,7 +319,7 @@ enum TINUMS {
* max_attributes: Maximum combined video attributes terminal can display
* magic_cookie_glitch: Number of blank characters left by smso or rmso
* max_colors: Maximum number of colours on the screen
* max_micro_address: Maximum value in micro_..._addresss
* max_micro_address: Maximum value in micro_..._address
* max_micro_jump: Maximum value in parm_..._micro
* max_pairs: Maximum number of colour-pairs on the screen
* maximum_windows: Maximum number of definable windows
@ -1611,7 +1611,7 @@ enum TISTRS{
* enter_top_hl_mode: Turn on top highlight mode
* enter_underline_mode: Start underscore mode
* enter_upward_mode: Enable upward carriage motion
* enter_vertical_hl_mode: Turn on verticle highlight mode
* enter_vertical_hl_mode: Turn on vertical highlight mode
* enter_xon_mode: Turn on xon/xoff handshaking
* erase_chars: Erase #1 characters
* exit_alt_charset_mode: End alternate character set
@ -1776,7 +1776,7 @@ enum TISTRS{
* key_select: sent by select key
* key_send: sent by shifted end key
* key_seol: sent by shifted clear-line key
* key_sexit: sent by shited exit key
* key_sexit: sent by shifted exit key
* key_sf: sent by scroll-forward/down key
* key_sfind: sent by shifted find key
* key_shelp: sent by shifted help key

View File

@ -1,4 +1,4 @@
/* $NetBSD: fault.c,v 1.23 2022/04/30 07:07:01 skrll Exp $ */
/* $NetBSD: fault.c,v 1.24 2022/05/11 14:58:00 andvar Exp $ */
/*
* Copyright (c) 2017 Ryo Shimizu <ryo@nerv.org>
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.23 2022/04/30 07:07:01 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: fault.c,v 1.24 2022/05/11 14:58:00 andvar Exp $");
#include "opt_compat_netbsd32.h"
#include "opt_cpuoptions.h"
@ -161,7 +161,7 @@ data_abort_handler(struct trapframe *tf, uint32_t eclass)
p = l->l_proc;
va = trunc_page((vaddr_t)tf->tf_far);
/* eliminate addresss tag if ECR_EL1.TBI[01] is enabled */
/* eliminate address tag if ECR_EL1.TBI[01] is enabled */
va = aarch64_untag_address(va);
if ((VM_MIN_KERNEL_ADDRESS <= va) && (va < VM_MAX_KERNEL_ADDRESS)) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: pbr.S,v 1.22 2016/01/04 18:17:31 christos Exp $ */
/* $NetBSD: pbr.S,v 1.23 2022/05/11 14:58:00 andvar Exp $ */
/*-
* Copyright (c) 2003,2004 The NetBSD Foundation, Inc.
@ -87,7 +87,7 @@
#endif
/*
* This code is loaded to addresss 0:7c00 by either the system BIOS
* This code is loaded to address 0:7c00 by either the system BIOS
* (for a floppy) or the mbr boot code. Since the boot program will
* be loaded to address 1000:0, we don't need to relocate ourselves
* and can load the subsequent blocks (that load boot) to an address
@ -274,7 +274,7 @@ boot:
and $0x3f, %dx
add %dx, %ax
dec %ax
pop %dx /* recover drive nmber */
pop %dx /* recover drive number */
cmp %bp, %ax
je read_chs

View File

@ -1,4 +1,4 @@
/* $NetBSD: etsecreg.h,v 1.9 2021/09/19 10:34:09 andvar Exp $ */
/* $NetBSD: etsecreg.h,v 1.10 2022/05/11 14:58:00 andvar Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@ -68,7 +68,7 @@ struct txbd {
#define TXFCB_UDP 0x0800 /* UDP at layer 4 */
#define TXFCB_CIP 0x0400 /* Checksum IP header enable */
#define TXFCB_CTU 0x0200 /* Checksum TCP or UCP header enable */
#define TXFCB_NPH 0x0100 /* No std Pseudo-Header checksm, use phcs */
#define TXFCB_NPH 0x0100 /* No std Pseudo-Header checksum, use phcs */
struct txfcb {
uint16_t txfcb_flags;
@ -84,11 +84,11 @@ struct txfcb {
#define RXBD_I 0x1000 /* Interrupt IEVENT[RXB|RXF] */
#define RXBD_L 0x0800 /* Last in frame */
#define RXBD_F 0x0400 /* First in frame */
#define RXBD_M 0x0100 /* Miss (promiscious match) */
#define RXBD_M 0x0100 /* Miss (promiscuous match) */
#define RXBD_BC 0x0080 /* BroadCast match */
#define RXBD_MC 0x0040 /* MultiCast match */
#define RXBD_LG 0x0020 /* rx LarGe frame error */
#define RXBD_NO 0x0010 /* Non-octect aligned frame error */
#define RXBD_NO 0x0010 /* Non-octet aligned frame error */
#define RXBD_SH 0x0008 /* SHort frame */
#define RXBD_CR 0x0004 /* rx CRc error */
#define RXBD_OV 0x0002 /* OVerrun error */
@ -142,8 +142,8 @@ struct rxfcb {
#define IEVENT_RXB __PPCBIT(16) /* receive buffer */
#define IEVENT_TWK __PPCBIT(19) /* timer wakeup */
#define IEVENT_MAG __PPCBIT(20) /* magic packet detected */
#define IEVENT_MMRD __PPCBIT(21) /* MMI manangement read complete */
#define IEVENT_MMWR __PPCBIT(22) /* MMI manangement write complete */
#define IEVENT_MMRD __PPCBIT(21) /* MMI management read complete */
#define IEVENT_MMWR __PPCBIT(22) /* MMI management write complete */
#define IEVENT_GRSC __PPCBIT(23) /* graceful receive stop complete */
#define IEVENT_RXF __PPCBIT(24) /* receive frame interrupt */
#define IEVENT_FGPI __PPCBIT(27) /* filer generated general purpose interrupt */
@ -395,7 +395,7 @@ struct rxfcb {
#define RQFPR_PID1_IP4 __PPCBIT(22) /* IPv4 header */
#define RQFPR_PID1_IP6 __PPCBIT(23) /* IPv6 header */
#define RQFPR_PID1_ICC __PPCBIT(24) /* IPv4 header checksum */
#define RQFPR_PID1_ICV __PPCBIT(25) /* IPv4 header checksum was verifed correct */
#define RQFPR_PID1_ICV __PPCBIT(25) /* IPv4 header checksum was verified correct */
#define RQFPR_PID1_TCP __PPCBIT(26) /* TCP header */
#define RQFPR_PID1_UDP __PPCBIT(27) /* UDP header */
#define RQFPR_PID1_PER __PPCBIT(30) /* parse error */
@ -459,7 +459,7 @@ struct rxfcb {
#define MAXFRM 0x510 /* Maximum frame length */
#define MIIMCFG 0x520 /* MII management configuration */
#define MIIMCFG_RESET __PPCBIT(0) /* Reset management */
#define MIIMCFG_NOPRE __PPCBIT(27) /* Preamble suppess */
#define MIIMCFG_NOPRE __PPCBIT(27) /* Preamble suppress */
#define MIIMCOM 0x524 /* MII management command */
#define MIIMCOM_SCAN __PPCBIT(30)
#define MIIMCOM_READ __PPCBIT(31)

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_interface.c,v 1.136 2021/02/23 07:13:53 mrg Exp $ */
/* $NetBSD: db_interface.c,v 1.137 2022/05/11 14:58:00 andvar Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.136 2021/02/23 07:13:53 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.137 2022/05/11 14:58:00 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@ -891,7 +891,7 @@ db_traptrace(db_expr_t addr, bool have_addr, db_expr_t count, const char *modif)
}
/*
* Use physical or virtul watchpoint registers -- ugh
* Use physical or virtual watchpoint registers -- ugh
*
* UltraSPARC I and II have both a virtual and physical
* watchpoint register. They are controlled by the LSU

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwc_gmac_reg.h,v 1.20 2020/05/17 21:50:47 chs Exp $ */
/* $NetBSD: dwc_gmac_reg.h,v 1.21 2022/05/11 14:58:01 andvar Exp $ */
/*-
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@ -62,11 +62,11 @@
#define AWIN_GMAC_MAC_FFILT_SAF __BIT(9) /* source address filter */
#define AWIN_GMAC_MAC_FFILT_SAIF __BIT(8) /* inverse filtering */
#define AWIN_GMAC_MAC_FFILT_DBF __BIT(5) /* disable broadcast frames */
#define AWIN_GMAC_MAC_FFILT_PM __BIT(4) /* promiscious multicast */
#define AWIN_GMAC_MAC_FFILT_PM __BIT(4) /* promiscuous multicast */
#define AWIN_GMAC_MAC_FFILT_DAIF __BIT(3) /* DA inverse filtering */
#define AWIN_GMAC_MAC_FFILT_HMC __BIT(2) /* multicast hash compare */
#define AWIN_GMAC_MAC_FFILT_HUC __BIT(1) /* unicast hash compare */
#define AWIN_GMAC_MAC_FFILT_PR __BIT(0) /* promiscious mode */
#define AWIN_GMAC_MAC_FFILT_PR __BIT(0) /* promiscuous mode */
#define AWIN_GMAC_MAC_INT_LPI __BIT(10)
#define AWIN_GMAC_MAC_INT_TSI __BIT(9)

View File

@ -1,4 +1,4 @@
/* $NetBSD: if.c,v 1.503 2022/04/09 23:38:33 riastradh Exp $ */
/* $NetBSD: if.c,v 1.504 2022/05/11 14:58:01 andvar Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@ -90,7 +90,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.503 2022/04/09 23:38:33 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.504 2022/05/11 14:58:01 andvar Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@ -2090,7 +2090,7 @@ ifa_ifwithnet_psref(const struct sockaddr *addr, struct psref *psref)
}
/*
* Find the interface of the addresss.
* Find the interface of the address.
*/
struct ifaddr *
ifa_ifwithladdr(const struct sockaddr *addr)

View File

@ -1,4 +1,4 @@
/* $NetBSD: moused.c,v 1.28 2022/01/21 21:39:32 andvar Exp $ */
/* $NetBSD: moused.c,v 1.29 2022/05/11 14:58:01 andvar Exp $ */
/**
** Copyright (c) 1995 Michael Smith, All rights reserved.
**
@ -48,7 +48,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: moused.c,v 1.28 2022/01/21 21:39:32 andvar Exp $");
__RCSID("$NetBSD: moused.c,v 1.29 2022/05/11 14:58:01 andvar Exp $");
#endif /* not lint */
#include <ctype.h>
@ -1522,7 +1522,7 @@ r_protocol(u_char rBuf, mousestatus_t *act)
* b) invalid (0x80 == -128 and that might be wrong for MouseSystems)
* c) bad header-package
*
* NOTE: b) is a voilation of the MouseSystems-Protocol, since values of
* NOTE: b) is a violation of the MouseSystems-Protocol, since values of
* -128 are allowed, but since they are very seldom we can easily
* use them as package-header with no button pressed.
* NOTE/2: On a PS/2 mouse any byte is valid as a data byte. Furthermore,