fix various typos in comments and log messages.

This commit is contained in:
andvar 2024-02-10 09:21:51 +00:00
parent 5b075dd729
commit a10c2cec39
25 changed files with 77 additions and 77 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.ramdisk,v 1.14 2019/08/22 04:25:38 kamil Exp $
# $NetBSD: Makefile.ramdisk,v 1.15 2024/02/10 09:21:51 andvar Exp $
NOSANITIZER= # defined
@ -32,7 +32,7 @@ IMAGEDEPENDS+= ${CRUNCHBIN} \
${DISTRIBDIR}/common/services
PARSELISTENV+= BOOTMODEL=${BOOTMODEL:Q}
# This propogates through to the link of ramdiskbin
# This propagates through to the link of ramdiskbin
# The map file is useful when trying to prune the image
LDFLAGS+= -Wl,-Map,${CRUNCHBIN}.map,--cref
CRUNCHENV+= LDFLAGS=${LDFLAGS:Q}

View File

@ -1,4 +1,4 @@
# $NetBSD: usb_hid_usages,v 1.8 2024/02/09 22:08:31 andvar Exp $
# $NetBSD: usb_hid_usages,v 1.9 2024/02/10 09:21:52 andvar Exp $
#
# USB HID usage table
# Syntax:
@ -796,7 +796,7 @@
0x19F AL Control Panel
0x1A0 AL Command Line Processor/Run
0x1A1 AL Process/Task Manager
0x1A2 AL Select Tast/Application
0x1A2 AL Select Task/Application
0x1A3 AL Next Task/Application
0x1A4 AL Previous Task/Application
0x1A5 AL Preemptive Halt Task/Application

View File

@ -1,4 +1,4 @@
/* $NetBSD: state.c,v 1.33 2023/09/22 15:28:36 shm Exp $ */
/* $NetBSD: state.c,v 1.34 2024/02/10 09:21:52 andvar Exp $ */
/*
* Copyright (c) 1989, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95";
#else
__RCSID("$NetBSD: state.c,v 1.33 2023/09/22 15:28:36 shm Exp $");
__RCSID("$NetBSD: state.c,v 1.34 2024/02/10 09:21:52 andvar Exp $");
#endif
#endif /* not lint */
@ -593,7 +593,7 @@ willoption(int option)
* respond WONT TM to the DO TM that we send to
* check for kludge linemode. When the WONT TM
* arrives, linemode will be turned off and a
* change propogated to the pty. This change
* change propagated to the pty. This change
* will cause us to process the new pty state
* in localstat(), which will notice that
* linemode is off and send a WILL ECHO

View File

@ -1,4 +1,4 @@
/* $NetBSD: raidctl.c,v 1.82 2023/09/25 21:59:38 oster Exp $ */
/* $NetBSD: raidctl.c,v 1.83 2024/02/10 09:21:52 andvar Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -39,7 +39,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: raidctl.c,v 1.82 2023/09/25 21:59:38 oster Exp $");
__RCSID("$NetBSD: raidctl.c,v 1.83 2024/02/10 09:21:52 andvar Exp $");
#endif
@ -1301,7 +1301,7 @@ rf_simple_create(int fd, int argc, char *argv[])
cfg.sectPerSU = 16;
}
} else if (level == 1) {
/* 128 blocks (64K per compnent) - 64K per stripe */
/* 128 blocks (64K per component) - 64K per stripe */
cfg.sectPerSU = 128;
} else if (level == 5) {
if (num_components == 3) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ne_pbusreg.h,v 1.3 2008/04/28 20:23:10 martin Exp $ */
/* $NetBSD: if_ne_pbusreg.h,v 1.4 2024/02/10 09:21:52 andvar Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -49,7 +49,7 @@
#define EM_DSR_POL (1 << 3) /* Polarity of UTP link */
#define EM_DSR_JAB (1 << 4) /* Jabber state */
#define EM_DSR_LNK (1 << 5) /* Link state */
#define EM_DSR_LBK (1 << 6) /* Lookback mode */
#define EM_DSR_LBK (1 << 6) /* Loopback mode */
#define EM_DSR_UTP (1 << 7) /* Twisted pair selected */
/* EtherLan 600 definitions */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pxa2x0reg.h,v 1.26 2021/12/26 16:08:20 andvar Exp $ */
/* $NetBSD: pxa2x0reg.h,v 1.27 2024/02/10 09:21:52 andvar Exp $ */
/*
* Copyright (c) 2002 Genetec Corporation. All rights reserved.
@ -985,7 +985,7 @@ struct pxa2x0_dma_desc {
#define USBDC_UDCECR_DE (1<<1) /* Double-Buffering Enable */
#define USBDC_UDCECR_MPE (1023<<2) /* Maximum Packet Size */
#define USBDC_UDCECR_ED (1<<12) /* USB Endpoint Direction */
#define USBDC_UDCECR_ET (3<<13) /* USB Enpoint Type */
#define USBDC_UDCECR_ET (3<<13) /* USB Endpoint Type */
#define USBDC_UDCECR_EN (15<<15) /* Endpoint Number */
#define USBDC_UDCECR_AISN (7<<19) /* Alternate Interface Number */
#define USBDC_UDCECR_IN (7<<22) /* Interface Number */

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.77 2024/01/29 18:27:13 christos Exp $
# $NetBSD: GENERIC,v 1.78 2024/02/10 09:21:52 andvar Exp $
#
# GENERIC machine description file
#
@ -22,7 +22,7 @@ include "arch/landisk/conf/std.landisk"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
#ident "GENERIC-$Revision: 1.77 $"
#ident "GENERIC-$Revision: 1.78 $"
maxusers 16 # estimated number of users
@ -280,7 +280,7 @@ wskbd* at ukbd? console ? mux 1
udl* at uhub? port ? # DisplayLink DL-1x0/1x5
wsdisplay* at udl?
# USB serial adpater
# USB serial adapter
ucycom* at uhidev? reportid ?
# USB Generic HID devices

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdt_port.h,v 1.6 2022/05/24 20:50:19 andvar Exp $ */
/* $NetBSD: fdt_port.h,v 1.7 2024/02/10 09:21:52 andvar Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@ -75,14 +75,14 @@ enum endpoint_type {
/*
* register a device's ports and enpoints into the provided fdt_device_ports.
* register a device's ports and endpoints into the provided fdt_device_ports.
* when and endpoint is connected to a remote endpoint, dp_ep_connect
* is called for the devices associated to both endpoints
*/
int fdt_ports_register(struct fdt_device_ports *, device_t,
int, enum endpoint_type);
/* various methods to retrieve an enpoint descriptor */
/* various methods to retrieve an endpoint descriptor */
struct fdt_endpoint *fdt_endpoint_get_from_phandle(int);
struct fdt_endpoint *fdt_endpoint_get_from_index(struct fdt_device_ports *,
int, int);

View File

@ -1,4 +1,4 @@
/* $NetBSD: gpioirq.c,v 1.3 2023/11/10 13:17:17 brad Exp $ */
/* $NetBSD: gpioirq.c,v 1.4 2024/02/10 09:21:52 andvar Exp $ */
/*
* Copyright (c) 2016, 2023 Brad Spencer <brad@anduin.eldar.org>
@ -17,7 +17,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gpioirq.c,v 1.3 2023/11/10 13:17:17 brad Exp $");
__KERNEL_RCSID(0, "$NetBSD: gpioirq.c,v 1.4 2024/02/10 09:21:52 andvar Exp $");
/*
* GPIO driver that uses interrupts and can send that fact to userland.
@ -163,7 +163,7 @@ gpioirq_attach(device_t parent, device_t self, void *aux)
sc->sc_gpio = ga->ga_gpio;
sc->sc_map.pm_map = sc->_map;
/* Determine our pin configuation. */
/* Determine our pin configuration. */
sc->sc_npins = gpio_npins(mask);
if (sc->sc_npins == 0) {
sc->sc_npins = 1;

View File

@ -1,4 +1,4 @@
/* $NetBSD: cs89x0reg.h,v 1.3 2005/12/11 12:21:26 christos Exp $ */
/* $NetBSD: cs89x0reg.h,v 1.4 2024/02/10 09:21:53 andvar Exp $ */
/*
* Copyright 1997
@ -358,7 +358,7 @@
#define MEM_BASE_MASK 0xFFF0
/* Adpater Configuration from EEPROM */
/* Adapter Configuration from EEPROM */
#define ADPTR_CFG_MEDIA 0x0060
#define ADPTR_CFG_10BASET 0x0020

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ix.c,v 1.39 2022/07/12 02:03:57 thorpej Exp $ */
/* $NetBSD: if_ix.c,v 1.40 2024/02/10 09:21:53 andvar Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ix.c,v 1.39 2022/07/12 02:03:57 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_ix.c,v 1.40 2024/02/10 09:21:53 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -841,7 +841,7 @@ ix_attach(device_t parent, device_t self, void *aux)
} else
media = IFM_ETHER | IFM_10_5;
/* Take the card out of lookback */
/* Take the card out of loopback */
bart_config = bus_space_read_1(iot, ioh, IX_CONFIG);
bart_config &= ~IX_BART_LOOPBACK;
bart_config |= IX_BART_MCS16_TEST; /* inb doesn't get bit! */

View File

@ -1,4 +1,4 @@
/* $NetBSD: mlyreg.h,v 1.8 2021/10/24 20:00:11 andvar Exp $ */
/* $NetBSD: mlyreg.h,v 1.9 2024/02/10 09:21:53 andvar Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -1242,7 +1242,7 @@ union mly_cmd_packet {
* PG6: 5.4.4 Doorbell 1
*
* Note that the documentation claims that these bits are set when the
* status queue(s) are empty, wheras the Linux driver and experience
* status queue(s) are empty, whereas the Linux driver and experience
* suggest they are set when there is status available.
*/
#define MLY_HM_STSREADY (1<<0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: rf_psstatus.c,v 1.38 2021/07/23 00:54:45 oster Exp $ */
/* $NetBSD: rf_psstatus.c,v 1.39 2024/02/10 09:21:53 andvar Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@ -37,7 +37,7 @@
*****************************************************************************/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rf_psstatus.c,v 1.38 2021/07/23 00:54:45 oster Exp $");
__KERNEL_RCSID(0, "$NetBSD: rf_psstatus.c,v 1.39 2024/02/10 09:21:53 andvar Exp $");
#include <dev/raidframe/raidframevar.h>
@ -254,7 +254,7 @@ rf_RemoveFromActiveReconTable(RF_Raid_t *raidPtr, RF_StripeNum_t psid,
hdr->lock = 0;
rf_unlock_mutex2(hdr->mutex);
/* wakup anyone waiting on the parity stripe ID */
/* wakeup anyone waiting on the parity stripe ID */
cb = p->procWaitList;
p->procWaitList = NULL;
while (cb) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: ehci.c,v 1.323 2024/02/09 22:08:36 andvar Exp $ */
/* $NetBSD: ehci.c,v 1.324 2024/02/10 09:21:53 andvar Exp $ */
/*
* Copyright (c) 2004-2012,2016,2020 The NetBSD Foundation, Inc.
@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.323 2024/02/09 22:08:36 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.324 2024/02/10 09:21:53 andvar Exp $");
#include "ohci.h"
#include "uhci.h"
@ -4212,7 +4212,7 @@ ehci_device_intr_abort(struct usbd_xfer *xfer)
/*
* XXX - abort_xfer uses ehci_sync_hc, which syncs via the advance
* async doorbell. That's dependent on the async list, wheras
* async doorbell. That's dependent on the async list, whereas
* intr xfers are periodic, should not use this?
*/
usbd_xfer_abort(xfer);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_smsc.c,v 1.93 2022/08/20 14:08:59 riastradh Exp $ */
/* $NetBSD: if_smsc.c,v 1.94 2024/02/10 09:21:53 andvar Exp $ */
/* $OpenBSD: if_smsc.c,v 1.4 2012/09/27 12:38:11 jsg Exp $ */
/* $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */
@ -46,11 +46,11 @@
* The chip supports both tx and rx offloading of UDP & TCP checksums, this
* feature can be dynamically enabled/disabled.
*
* RX checksuming is performed across bytes after the IPv4 header to the end of
* RX checksumming is performed across bytes after the IPv4 header to the end of
* the Ethernet frame, this means if the frame is padded with non-zero values
* the H/W checksum will be incorrect, however the rx code compensates for this.
*
* TX checksuming is more complicated, the device requires a special header to
* TX checksumming is more complicated, the device requires a special header to
* be prefixed onto the start of the frame which indicates the start and end
* positions of the UDP or TCP frame. This requires the driver to manually
* go through the packet data and decode the headers prior to sending.
@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_smsc.c,v 1.93 2022/08/20 14:08:59 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_smsc.c,v 1.94 2024/02/10 09:21:53 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_smscreg.h,v 1.8 2022/04/06 22:01:45 mlelstv Exp $ */
/* $NetBSD: if_smscreg.h,v 1.9 2024/02/10 09:21:53 andvar Exp $ */
/* $OpenBSD: if_smscreg.h,v 1.2 2012/09/27 12:38:11 jsg Exp $ */
/*-
@ -58,7 +58,7 @@
* TX_CTRL_0 <12> Last segment of frame indicator
* TX_CTRL_0 <10:0> Buffer size (payload size)
*
* TX_CTRL_1 <14> Perform H/W checksuming on IP packets
* TX_CTRL_1 <14> Perform H/W checksumming on IP packets
* TX_CTRL_1 <13> Disable automatic ethernet CRC generation
* TX_CTRL_1 <12> Disable ethernet frame padding upto 64 bytes
* TX_CTRL_1 <10:0> Packet byte length

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_udavreg.h,v 1.16 2019/08/10 02:32:27 mrg Exp $ */
/* $NetBSD: if_udavreg.h,v 1.17 2024/02/10 09:21:53 andvar Exp $ */
/* $nabe: if_udavreg.h,v 1.2 2003/08/21 16:26:40 nabe Exp $ */
/*
@ -63,8 +63,8 @@
#define UDAV_NCR_WAKEEN (1<<6) /* Wakeup Event Enable */
#define UDAV_NCR_FCOL (1<<4) /* Force Collision Mode */
#define UDAV_NCR_FDX (1<<3) /* Full-Duplex Mode (RO on Int. PHY) */
#define UDAV_NCR_LBK1 (1<<2) /* Lookback Mode */
#define UDAV_NCR_LBK0 (1<<1) /* Lookback Mode */
#define UDAV_NCR_LBK1 (1<<2) /* Loopback Mode */
#define UDAV_NCR_LBK0 (1<<1) /* Loopback Mode */
#define UDAV_NCR_RST (1<<0) /* Software reset */
#define UDAV_RCR 0x05 /* RX Control Register */

View File

@ -1,4 +1,4 @@
/* $NetBSD: umcs.h,v 1.5 2023/09/21 09:31:50 msaitoh Exp $ */
/* $NetBSD: umcs.h,v 1.6 2024/02/10 09:21:53 andvar Exp $ */
/* $FreeBSD: head/sys/dev/usb/serial/umcs.h 252123 2013-06-23 20:19:51Z thomas $ */
/*-
@ -38,7 +38,7 @@
#define MCS7840_RDREQ 0x0d
#define MCS7840_WRREQ 0x0e
/* Read/Wrtie EEPROM values */
/* Read/Write EEPROM values */
#define MCS7840_EEPROM_RW_WVALUE 0x0900
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: umidi.c,v 1.90 2024/02/04 05:43:06 mrg Exp $ */
/* $NetBSD: umidi.c,v 1.91 2024/02/10 09:21:53 andvar Exp $ */
/*
* Copyright (c) 2001, 2012, 2014 The NetBSD Foundation, Inc.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.90 2024/02/04 05:43:06 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.91 2024/02/10 09:21:53 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@ -115,7 +115,7 @@ typedef struct {
#define UMIDI_PACKET_SIZE 4
/*
* hierarchie
* hierarchy
*
* <-- parent child -->
*

View File

@ -1,4 +1,4 @@
/* $NetBSD: xhcireg.h,v 1.23 2023/06/05 03:44:47 mlelstv Exp $ */
/* $NetBSD: xhcireg.h,v 1.24 2024/02/10 09:21:53 andvar Exp $ */
/*-
* Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
@ -92,7 +92,7 @@
#define XHCI_HCC_PAE(x) __SHIFTOUT((x), __BIT(8)) /* Parse All Event Data */
#define XHCI_HCC_SPC(x) __SHIFTOUT((x), __BIT(9)) /* Short packet */
#define XHCI_HCC_SEC(x) __SHIFTOUT((x), __BIT(10)) /* Stopped EDTLA */
#define XHCI_HCC_CFC(x) __SHIFTOUT((x), __BIT(11)) /* Configuous Frame ID */
#define XHCI_HCC_CFC(x) __SHIFTOUT((x), __BIT(11)) /* Contiguous Frame ID */
#define XHCI_HCC_MAXPSASIZE_MASK __BITS(15, 12) /* max pri. stream array size */
#define XHCI_HCC_MAXPSASIZE(x) __SHIFTOUT((x), XHCI_HCC_MAXPSASIZE_MASK)
#define XHCI_HCC_XECP_MASK __BITS(31, 16) /* extended capabilities pointer */
@ -258,7 +258,7 @@
/* 5.4.9.2 */
#define XHCI_PM2_L1S_MASK __BITS(2, 0) /* RO - L1 status */
#define XHCI_PM2_L1S_GET(x) __SHIFTOUT((x), XHCI_PM2_L1S_MASK)
#define XHCI_PM2_RWE __BIT(3) /* RW - remote wakup enable */
#define XHCI_PM2_RWE __BIT(3) /* RW - remote wakeup enable */
#define XHCI_PM2_BESL_MASK __BITS(7, 4) /* RW - Best Effort Service Latency */
#define XHCI_PM2_BESL_GET(x) __SHIFTOUT((x), XHCI_PM2_BESL_MASK)
#define XHCI_PM2_BESL_SET(x) __SHIFTIN((x), XHCI_PM2_BESL_MASK)

View File

@ -1,4 +1,4 @@
/* $NetBSD: sireg.h,v 1.3 2008/04/28 20:24:01 martin Exp $ */
/* $NetBSD: sireg.h,v 1.4 2024/02/10 09:21:53 andvar Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -30,7 +30,7 @@
*/
/*
* Register map for the VME SCSI-3 adpater (si)
* Register map for the VME SCSI-3 adapter (si)
* The first part of this register map is an NCR5380
* SCSI Bus Interface Controller (SBIC). The rest is a
* DMA controller and custom logic.

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_readwrite.c,v 1.13 2021/12/05 04:32:36 msaitoh Exp $ */
/* $NetBSD: udf_readwrite.c,v 1.14 2024/02/10 09:21:53 andvar Exp $ */
/*
* Copyright (c) 2007, 2008 Reinoud Zandijk
@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_readwrite.c,v 1.13 2021/12/05 04:32:36 msaitoh Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_readwrite.c,v 1.14 2024/02/10 09:21:53 andvar Exp $");
#endif /* not lint */
@ -272,7 +272,7 @@ udf_fixup_node_internals(struct udf_mount *ump, uint8_t *blob, int udf_c_type)
* Descriptors inside `logical space' i.e. inside logically mapped partitions
* can never be longer than one logical sector.
*
* NOTE that these functions *can* be used by the sheduler backends to read
* NOTE that these functions *can* be used by the scheduler backends to read
* node descriptors too.
*
* For reading, the size of allocated piece is returned in multiple of sector
@ -323,7 +323,7 @@ udf_read_phys_sectors(struct udf_mount *ump, int what, void *blob,
/* identify this nestbuf */
nestbuf->b_lblkno = lblkno;
/* CD shedules on raw blkno */
/* CD schedules on raw blkno */
nestbuf->b_blkno = rblkno * blks;
nestbuf->b_proc = NULL;
nestbuf->b_rawblkno = rblkno * blks;
@ -463,7 +463,7 @@ udf_write_phys_buf(struct udf_mount *ump, int what, struct buf *buf)
/* identify this nestbuf */
nestbuf->b_lblkno = lblkno;
/* CD shedules on raw blkno */
/* CD schedules on raw blkno */
nestbuf->b_blkno = rblkno * blks;
nestbuf->b_proc = NULL;
nestbuf->b_rawblkno = rblkno * blks;

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_strat_direct.c,v 1.16 2023/06/27 09:58:50 reinoud Exp $ */
/* $NetBSD: udf_strat_direct.c,v 1.17 2024/02/10 09:21:53 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_strat_direct.c,v 1.16 2023/06/27 09:58:50 reinoud Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_strat_direct.c,v 1.17 2024/02/10 09:21:53 andvar Exp $");
#endif /* not lint */
@ -267,7 +267,7 @@ udf_queue_buf_direct(struct udf_strat_args *args)
queue = UDF_SHED_WRITING;
}
/* use disc sheduler */
/* use disc scheduler */
class = ump->discinfo.mmc_class;
KASSERT((class == MMC_CLASS_UNKN) || (class == MMC_CLASS_DISC) ||
(ump->discinfo.mmc_cur & MMC_CAP_HW_DEFECTFREE) ||
@ -381,7 +381,7 @@ udf_queue_buf_direct(struct udf_strat_args *args)
nestbuf->b_lblkno = sector;
assert(nestbuf->b_vp == buf->b_vp);
/* CD shedules on raw blkno */
/* CD schedules on raw blkno */
nestbuf->b_blkno = rblk;
nestbuf->b_proc = NULL;
nestbuf->b_rawblkno = rblk;

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_subr.c,v 1.175 2024/02/04 20:50:30 andvar Exp $ */
/* $NetBSD: udf_subr.c,v 1.176 2024/02/10 09:21:53 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.175 2024/02/04 20:50:30 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.176 2024/02/10 09:21:53 andvar Exp $");
#endif /* not lint */
@ -2087,7 +2087,7 @@ udf_process_vds(struct udf_mount *ump) {
}
/*
* Determine sheduler error behaviour. For virtual partitions, update
* Determine scheduler error behaviour. For virtual partitions, update
* the trackinfo; for sparable partitions replace a whole block on the
* sparable table. Always requeue.
*/
@ -2098,7 +2098,7 @@ udf_process_vds(struct udf_mount *ump) {
ump->lvreadwrite = UDF_REMAP_BLOCK;
/*
* Select our sheduler
* Select our scheduler
*/
ump->strategy = &udf_strat_rmw;
if (n_virt || (ump->discinfo.mmc_cur & MMC_CAP_PSEUDOOVERWRITE))
@ -2110,7 +2110,7 @@ udf_process_vds(struct udf_mount *ump) {
ump->strategy = &udf_strat_rmw;
#if 0
/* read-only access won't benefit from the other shedulers */
/* read-only access won't benefit from the other schedulers */
if (ump->vfs_mountp->mnt_flag & MNT_RDONLY)
ump->strategy = &udf_strat_direct;
#endif
@ -2130,7 +2130,7 @@ udf_process_vds(struct udf_mount *ump) {
snprintb(bits, sizeof(bits), UDFONERROR_BITS, ump->lvreadwrite);
DPRINTF(VOLUMES, ("\tactions on logvol errors %s\n", bits));
DPRINTF(VOLUMES, ("\tselected sheduler `%s`\n",
DPRINTF(VOLUMES, ("\tselected scheduler `%s`\n",
(ump->strategy == &udf_strat_direct) ? "Direct" :
(ump->strategy == &udf_strat_sequential) ? "Sequential" :
(ump->strategy == &udf_strat_rmw) ? "RMW" : "UNKNOWN!"));
@ -6705,7 +6705,7 @@ udf_read_filebuf(struct udf_node *udf_node, struct buf *buf)
}
#endif
/* request read-in of data from disc sheduler */
/* request read-in of data from disc scheduler */
buf->b_resid = buf->b_bcount;
for (sector = 0; sector < sectors; sector++) {
buf_offset = sector * sector_size;
@ -6751,7 +6751,7 @@ udf_read_filebuf(struct udf_node *udf_node, struct buf *buf)
nestbuf->b_lblkno = lblkno;
assert(nestbuf->b_vp == udf_node->vnode);
/* CD shedules on raw blkno */
/* CD schedules on raw blkno */
nestbuf->b_blkno = rblk;
nestbuf->b_proc = NULL;
nestbuf->b_rawblkno = rblk;
@ -6825,7 +6825,7 @@ udf_write_filebuf(struct udf_node *udf_node, struct buf *buf)
}
DPRINTF(WRITE, ("\tnot intern\n"));
/* request write out of data to disc sheduler */
/* request write out of data to disc scheduler */
buf->b_resid = buf->b_bcount;
for (lb_num = 0; lb_num < num_lb; lb_num++) {
buf_offset = lb_num * lb_size;
@ -6865,7 +6865,7 @@ udf_write_filebuf(struct udf_node *udf_node, struct buf *buf)
nestbuf->b_lblkno = lblkno;
KASSERT(nestbuf->b_vp == udf_node->vnode);
/* CD shedules on raw blkno */
/* CD schedules on raw blkno */
nestbuf->b_blkno = rblk;
nestbuf->b_proc = NULL;
nestbuf->b_rawblkno = rblk;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sys_pipe.c,v 1.166 2023/11/02 10:31:55 martin Exp $ */
/* $NetBSD: sys_pipe.c,v 1.167 2024/02/10 09:21:54 andvar Exp $ */
/*-
* Copyright (c) 2003, 2007, 2008, 2009, 2023 The NetBSD Foundation, Inc.
@ -55,7 +55,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.166 2023/11/02 10:31:55 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: sys_pipe.c,v 1.167 2024/02/10 09:21:54 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -364,7 +364,7 @@ pipeunlock(struct pipe *pipe)
}
/*
* Select/poll wakup. This also sends SIGIO to peer connected to
* Select/poll wakeup. This also sends SIGIO to peer connected to
* 'sigpipe' side of pipe.
*/
static void