diff options
| author | andvar <andvar@NetBSD.org> | 2021-12-12 13:05:13 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2021-12-12 13:05:13 +0000 |
| commit | b2c5e2004cbbee351471fc40510b685b532856ee (patch) | |
| tree | 3c3e02f3c011f8508a1011ed0c0bd54871ad2d1e /sys/dev | |
| parent | d9e475d86524d2b0e8ece9869a7a8e656c27dae4 (diff) | |
fix various typos, mainly in comments.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/audio/audio.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/isp.c | 14 | ||||
| -rw-r--r-- | sys/dev/ic/isp_target.c | 10 | ||||
| -rw-r--r-- | sys/dev/ic/isp_tpublic.h | 6 | ||||
| -rw-r--r-- | sys/dev/pci/if_bnxreg.h | 4 | ||||
| -rw-r--r-- | sys/dev/sbus/bereg.h | 4 |
6 files changed, 22 insertions, 22 deletions
diff --git a/sys/dev/audio/audio.c b/sys/dev/audio/audio.c index fcce3c88672..d22ea989a18 100644 --- a/sys/dev/audio/audio.c +++ b/sys/dev/audio/audio.c @@ -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 *track, } /* - * 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) diff --git a/sys/dev/ic/isp.c b/sys/dev/ic/isp.c index a888e1dec2b..06c819945bf 100644 --- a/sys/dev/ic/isp.c +++ b/sys/dev/ic/isp.c @@ -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_defaults) * 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 chan, uint32_t portid, isp_pdb_t *p, uint1 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[] = { diff --git a/sys/dev/ic/isp_target.c b/sys/dev/ic/isp_target.c index 302e20b2385..4c3bca0ef76 100644 --- a/sys/dev/ic/isp_target.c +++ b/sys/dev/ic/isp_target.c @@ -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(ispsoftc_t *, in_fcentry_24xx_t *); /* * 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(ispsoftc_t *, in_fcentry_24xx_t *); * 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(ispsoftc_t *, in_fcentry_24xx_t *); * * 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 diff --git a/sys/dev/ic/isp_tpublic.h b/sys/dev/ic/isp_tpublic.h index 45790fea962..1b5694e602f 100644 --- a/sys/dev/ic/isp_tpublic.h +++ b/sys/dev/ic/isp_tpublic.h @@ -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. * diff --git a/sys/dev/pci/if_bnxreg.h b/sys/dev/pci/if_bnxreg.h index d4366be9393..5120b1b0d92 100644 --- a/sys/dev/pci/if_bnxreg.h +++ b/sys/dev/pci/if_bnxreg.h @@ -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 { diff --git a/sys/dev/sbus/bereg.h b/sys/dev/sbus/bereg.h index 6267a683b3a..f7d6ff4d996 100644 --- a/sys/dev/sbus/bereg.h +++ b/sys/dev/sbus/bereg.h @@ -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 */ |
