summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-12-12 13:05:13 +0000
committerandvar <andvar@NetBSD.org>2021-12-12 13:05:13 +0000
commitb2c5e2004cbbee351471fc40510b685b532856ee (patch)
tree3c3e02f3c011f8508a1011ed0c0bd54871ad2d1e /sys/dev/ic
parentd9e475d86524d2b0e8ece9869a7a8e656c27dae4 (diff)
fix various typos, mainly in comments.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/isp.c14
-rw-r--r--sys/dev/ic/isp_target.c10
-rw-r--r--sys/dev/ic/isp_tpublic.h6
3 files changed, 15 insertions, 15 deletions
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.
*