diff options
| author | andvar <andvar@NetBSD.org> | 2022-05-22 11:27:33 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2022-05-22 11:27:33 +0000 |
| commit | 2d52435ade4bc6f13b084477e53a16fb783290d0 (patch) | |
| tree | 687dacfe55a8f5b240056e67c9436e290f820645 /sys/dev | |
| parent | dd25b8ea7dd4819f30919b4488b399444396e9eb (diff) | |
fix various small typos, mainly in comments.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/acpi/acpi_tz.c | 6 | ||||
| -rw-r--r-- | sys/dev/i2c/sgp40.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/aic79xx.c | 8 | ||||
| -rw-r--r-- | sys/dev/ic/lancereg.h | 4 | ||||
| -rw-r--r-- | sys/dev/ic/siop_common.c | 6 | ||||
| -rw-r--r-- | sys/dev/ieee1394/firewire.c | 6 | ||||
| -rw-r--r-- | sys/dev/midi.c | 6 | ||||
| -rw-r--r-- | sys/dev/pci/agp.c | 6 | ||||
| -rw-r--r-- | sys/dev/pci/bktr/bktr_core.h | 4 | ||||
| -rw-r--r-- | sys/dev/pcmcia/if_ray.c | 6 | ||||
| -rw-r--r-- | sys/dev/pcmcia/if_rayreg.h | 4 | ||||
| -rw-r--r-- | sys/dev/qbus/uda.c | 6 |
12 files changed, 34 insertions, 34 deletions
diff --git a/sys/dev/acpi/acpi_tz.c b/sys/dev/acpi/acpi_tz.c index 91aea290dbb..4906dcd97d4 100644 --- a/sys/dev/acpi/acpi_tz.c +++ b/sys/dev/acpi/acpi_tz.c @@ -1,4 +1,4 @@ -/* $NetBSD: acpi_tz.c,v 1.90 2019/04/21 21:52:09 mrg Exp $ */ +/* $NetBSD: acpi_tz.c,v 1.91 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2003 Jared D. McNeill <jmcneill@invisible.ca> @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.90 2019/04/21 21:52:09 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.91 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/device.h> @@ -616,7 +616,7 @@ acpitz_notify_handler(ACPI_HANDLE hdl, uint32_t notify, void *opaque) static void acpitz_sane_temp(uint32_t *tmp) { - /* Sane temperatures are beteen 0 and 150 C. */ + /* Sane temperatures are between 0 and 150 C. */ if (*tmp < ATZ_ZEROC || *tmp > ATZ_ZEROC + 1500) *tmp = ATZ_TMP_INVALID; } diff --git a/sys/dev/i2c/sgp40.c b/sys/dev/i2c/sgp40.c index eb5b002d1ee..335ba85aefe 100644 --- a/sys/dev/i2c/sgp40.c +++ b/sys/dev/i2c/sgp40.c @@ -1,4 +1,4 @@ -/* $NetBSD: sgp40.c,v 1.3 2022/03/30 00:06:50 pgoyette Exp $ */ +/* $NetBSD: sgp40.c,v 1.4 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2021 Brad Spencer <brad@anduin.eldar.org> @@ -17,7 +17,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sgp40.c,v 1.3 2022/03/30 00:06:50 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sgp40.c,v 1.4 2022/05/22 11:27:35 andvar Exp $"); /* Driver for the Sensirion SGP40 MOx gas sensor for air quality @@ -229,7 +229,7 @@ sgp40_take_measurement(void *aux, VocAlgorithmParams* params) args[5] = sgp40_crc(&args[3], 2); /* - * The VOC algoritm has a black out time when it first starts to run + * The VOC algorithm has a black out time when it first starts to run * and does not return any indicator that is going on, so voc_index * in that case would be 0.. however, that is also a valid response * otherwise, although an unlikely one. diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c index e24486f3e52..91eddab0cc9 100644 --- a/sys/dev/ic/aic79xx.c +++ b/sys/dev/ic/aic79xx.c @@ -1,4 +1,4 @@ -/* $NetBSD: aic79xx.c,v 1.66 2022/04/16 17:34:34 andvar Exp $ */ +/* $NetBSD: aic79xx.c,v 1.67 2022/05/22 11:27:35 andvar Exp $ */ /* * Core routines and tables shareable across OS platforms. @@ -49,7 +49,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.66 2022/04/16 17:34:34 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.67 2022/05/22 11:27:35 andvar Exp $"); #include <dev/ic/aic79xx_osm.h> #include <dev/ic/aic79xx_inline.h> @@ -5276,7 +5276,7 @@ ahd_reset(struct ahd_softc *ahd, int reinit) * does not disable its parity logic prior to * the start of the reset. This may cause a * parity error to be detected and thus a - * spurious SERR or PERR assertion. Disble + * spurious SERR or PERR assertion. Disable * PERR and SERR responses during the CHIPRST. */ mod_cmd = cmd & @@ -6019,7 +6019,7 @@ ahd_init(struct ahd_softc *ahd) M_DEVBUF, M_WAITOK | M_ZERO); /* - * Verify that the compiler hasn't over-agressively + * Verify that the compiler hasn't over-aggressively * padded important structures. */ if (sizeof(struct hardware_scb) != 64) diff --git a/sys/dev/ic/lancereg.h b/sys/dev/ic/lancereg.h index 60fcc0dbf19..3b9d7bd86ac 100644 --- a/sys/dev/ic/lancereg.h +++ b/sys/dev/ic/lancereg.h @@ -1,4 +1,4 @@ -/* $NetBSD: lancereg.h,v 1.14 2020/04/08 04:32:14 msaitoh Exp $ */ +/* $NetBSD: lancereg.h,v 1.15 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -565,7 +565,7 @@ #define LE_MODE_PROM 0x8000 /* promiscuous mode */ /* 0x7f80 reserved, must be zero */ /* 0x4000 - 0x0080 are not available on LANCE 7990 */ -#define LE_MODE_DRCVBC 0x4000 /* disable receive brodcast */ +#define LE_MODE_DRCVBC 0x4000 /* disable receive broadcast */ #define LE_MODE_DRCVPA 0x2000 /* disable physical address detection */ #define LE_MODE_DLNKTST 0x1000 /* disable link status */ #define LE_MODE_DAPC 0x0800 /* disable automatic polarity correction */ diff --git a/sys/dev/ic/siop_common.c b/sys/dev/ic/siop_common.c index 55ae0c67bcb..6a293e2b466 100644 --- a/sys/dev/ic/siop_common.c +++ b/sys/dev/ic/siop_common.c @@ -1,4 +1,4 @@ -/* $NetBSD: siop_common.c,v 1.55 2019/12/27 09:41:50 msaitoh Exp $ */ +/* $NetBSD: siop_common.c,v 1.56 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000, 2002 Manuel Bouyer. @@ -28,7 +28,7 @@ /* SYM53c7/8xx PCI-SCSI I/O Processors driver */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.55 2019/12/27 09:41:50 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: siop_common.c,v 1.56 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -820,7 +820,7 @@ siop_sdp(struct siop_common_cmd *siop_cmd, int offset) */ /* - * before doing that we decrease resid from the ammount of data which + * before doing that we decrease resid from the amount of data which * has been transferred. */ siop_update_resid(siop_cmd, offset); diff --git a/sys/dev/ieee1394/firewire.c b/sys/dev/ieee1394/firewire.c index 922fb8ea0f9..88d78b2b428 100644 --- a/sys/dev/ieee1394/firewire.c +++ b/sys/dev/ieee1394/firewire.c @@ -1,4 +1,4 @@ -/* $NetBSD: firewire.c,v 1.54 2021/12/20 19:56:42 riastradh Exp $ */ +/* $NetBSD: firewire.c,v 1.55 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 2003 Hidetoshi Shimokawa * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: firewire.c,v 1.54 2021/12/20 19:56:42 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: firewire.c,v 1.55 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -1787,7 +1787,7 @@ fw_explore_node(struct fw_device *dfwdev) * speed map value. * 1394a-2000 compliant devices only use * the Bus Info Block link spd value, so - * ignore the speed map alltogether. SWB + * ignore the speed map altogether. SWB */ if (binfo->link_spd == FWSPD_S100 /* 0 */) { aprint_normal_dev(fc->bdev, diff --git a/sys/dev/midi.c b/sys/dev/midi.c index 05b7d78a23b..bf2e5cd67f9 100644 --- a/sys/dev/midi.c +++ b/sys/dev/midi.c @@ -1,4 +1,4 @@ -/* $NetBSD: midi.c,v 1.96 2022/03/31 19:30:15 pgoyette Exp $ */ +/* $NetBSD: midi.c,v 1.97 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.96 2022/03/31 19:30:15 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: midi.c,v 1.97 2022/05/22 11:27:35 andvar Exp $"); #ifdef _KERNEL_OPT #include "midi.h" @@ -420,7 +420,7 @@ static struct { * meaningless) outside of a System Exclusive message, anywhere a status byte * could appear. Second, it is allowed to be absent at the end of a System * Exclusive message (!) - any status byte at all (non-realtime) is allowed to - * terminate the message. Both require accomodation in the interface to + * terminate the message. Both require accommodation in the interface to * midi_fst's caller. A stray 0xf7 should be ignored BUT should count as a * message received for purposes of Active Sense timeout; the case is * represented by a return of FST_COM with a length of zero (pos == end). A diff --git a/sys/dev/pci/agp.c b/sys/dev/pci/agp.c index 385591f20ce..8714bed22f0 100644 --- a/sys/dev/pci/agp.c +++ b/sys/dev/pci/agp.c @@ -1,4 +1,4 @@ -/* $NetBSD: agp.c,v 1.87 2019/11/10 21:16:36 chs Exp $ */ +/* $NetBSD: agp.c,v 1.88 2022/05/22 11:27:35 andvar Exp $ */ /*- * Copyright (c) 2000 Doug Rabson @@ -65,7 +65,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.87 2019/11/10 21:16:36 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: agp.c,v 1.88 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -698,7 +698,7 @@ agp_generic_bind_memory_bounded(struct agp_softc *sc, struct agp_memory *mem, /* * XXXfvdl - * The memory here needs to be directly accessable from the + * The memory here needs to be directly accessible from the * AGP video card, so it should be allocated using bus_dma. * However, it need not be contiguous, since individual pages * are translated using the GATT. diff --git a/sys/dev/pci/bktr/bktr_core.h b/sys/dev/pci/bktr/bktr_core.h index fe87c85c7f2..875c7d7298b 100644 --- a/sys/dev/pci/bktr/bktr_core.h +++ b/sys/dev/pci/bktr/bktr_core.h @@ -1,6 +1,6 @@ /* $SourceForge: bktr_core.h,v 1.3 2003/03/11 23:11:23 thomasklausner Exp $ */ -/* $NetBSD: bktr_core.h,v 1.11 2021/12/19 22:03:41 andvar Exp $ */ +/* $NetBSD: bktr_core.h,v 1.12 2022/05/22 11:27:35 andvar Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_core.h,v 1.4 2000/06/26 09:41:32 roger Exp$ */ /* @@ -74,7 +74,7 @@ void msp_dpl_write(bktr_ptr_t bktr, int i2c_addr, unsigned char dev, /* device name for printf */ const char *bktr_name(bktr_ptr_t bktr); -/* Prototypes for attatch and interrupt functions */ +/* Prototypes for attach and interrupt functions */ int common_bktr_attach(bktr_ptr_t bktr, int unit, u_int pci_id, u_int rev); int common_bktr_intr(void *arg); diff --git a/sys/dev/pcmcia/if_ray.c b/sys/dev/pcmcia/if_ray.c index 076ce436a33..6f219cfba26 100644 --- a/sys/dev/pcmcia/if_ray.c +++ b/sys/dev/pcmcia/if_ray.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $ */ +/* $NetBSD: if_ray.c,v 1.99 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000 Christian E. Hopps @@ -57,7 +57,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.99 2022/05/22 11:27:35 andvar Exp $"); #include "opt_inet.h" @@ -111,7 +111,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_ray.c,v 1.98 2020/02/04 05:46:32 thorpej Exp $"); #define RAY_CHECK_CCS_TIMEOUT (hz / 2) #endif -/* ammount of time to consider start/join failed */ +/* amount of time to consider start/join failed */ #ifndef RAY_START_TIMEOUT #define RAY_START_TIMEOUT (30 * hz) #endif diff --git a/sys/dev/pcmcia/if_rayreg.h b/sys/dev/pcmcia/if_rayreg.h index 849d36d205d..f68727845fa 100644 --- a/sys/dev/pcmcia/if_rayreg.h +++ b/sys/dev/pcmcia/if_rayreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_rayreg.h,v 1.11 2015/09/06 06:01:00 dholland Exp $ */ +/* $NetBSD: if_rayreg.h,v 1.12 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 2000 Christian E. Hopps * All rights reserved. @@ -201,7 +201,7 @@ struct ray_startup_params_head { /*2c*/ u_int8_t sp_dwell_time[2]; /*2e*/ u_int8_t sp_beacon_period[2]; /*30*/ u_int8_t sp_dtim_interval; -/*31*/ u_int8_t sp_max_retry; /* number of times to attemp tx */ +/*31*/ u_int8_t sp_max_retry; /* number of times to attempt tx */ /*32*/ u_int8_t sp_ack_timo; /*33*/ u_int8_t sp_sifs; /*34*/ u_int8_t sp_difs; diff --git a/sys/dev/qbus/uda.c b/sys/dev/qbus/uda.c index 2aa07e8b385..8cab6d86ec1 100644 --- a/sys/dev/qbus/uda.c +++ b/sys/dev/qbus/uda.c @@ -1,4 +1,4 @@ -/* $NetBSD: uda.c,v 1.63 2021/08/07 16:19:15 thorpej Exp $ */ +/* $NetBSD: uda.c,v 1.64 2022/05/22 11:27:35 andvar Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uda.c,v 1.63 2021/08/07 16:19:15 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uda.c,v 1.64 2022/05/22 11:27:35 andvar Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -233,7 +233,7 @@ udaattach(device_t parent, device_t self, void *aux) /* * The only thing that differ UDA's and Tape ctlr's is - * their vcid. Beacuse there are no way to determine which + * their vcid. Because there are no way to determine which * ctlr type it is, we check what is generated and later * set the correct vcid. */ |
