summaryrefslogtreecommitdiffstats
path: root/sys/dev/mvs
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2011-04-19 10:57:40 +0000
committermav <mav@FreeBSD.org>2011-04-19 10:57:40 +0000
commitccce60bdebf47a73c06de1dee77e181afbcaf538 (patch)
treed419c5f6b9f92c4f5744fe579ce7b6e76f64cf7d /sys/dev/mvs
parent0b4c44825012153bafde75c6c26c6b0a1e1d2176 (diff)
downloadFreeBSD-src-ccce60bdebf47a73c06de1dee77e181afbcaf538.zip
FreeBSD-src-ccce60bdebf47a73c06de1dee77e181afbcaf538.tar.gz
Fix some English grammar.
Diffstat (limited to 'sys/dev/mvs')
-rw-r--r--sys/dev/mvs/mvs.c8
-rw-r--r--sys/dev/mvs/mvs.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/mvs/mvs.c b/sys/dev/mvs/mvs.c
index 6b6e1b7..5dbe30c 100644
--- a/sys/dev/mvs/mvs.c
+++ b/sys/dev/mvs/mvs.c
@@ -1781,16 +1781,16 @@ mvs_issue_recovery(device_t dev)
struct ccb_scsiio *csio;
int i;
- /* Find some holden command. */
+ /* Find some held command. */
for (i = 0; i < MVS_MAX_SLOTS; i++) {
if (ch->hold[i])
break;
}
ccb = xpt_alloc_ccb_nowait();
if (ccb == NULL) {
- device_printf(dev, "Unable allocate recovery command\n");
+ device_printf(dev, "Unable to allocate recovery command\n");
completeall:
- /* We can't do anything -- complete holden commands. */
+ /* We can't do anything -- complete held commands. */
for (i = 0; i < MVS_MAX_SLOTS; i++) {
if (ch->hold[i] == NULL)
continue;
@@ -1815,7 +1815,7 @@ completeall:
if (ataio->data_ptr == NULL) {
xpt_free_ccb(ccb);
device_printf(dev,
- "Unable allocate memory for READ LOG command\n");
+ "Unable to allocate memory for READ LOG command\n");
goto completeall;
}
ataio->dxfer_len = 512;
diff --git a/sys/dev/mvs/mvs.h b/sys/dev/mvs/mvs.h
index d634003..3fe106a 100644
--- a/sys/dev/mvs/mvs.h
+++ b/sys/dev/mvs/mvs.h
@@ -538,7 +538,7 @@ struct mvs_channel {
struct mvs_slot slot[MVS_MAX_SLOTS];
union ccb *hold[MVS_MAX_SLOTS];
- int holdtag[MVS_MAX_SLOTS]; /* Tags used for holden commands. */
+ int holdtag[MVS_MAX_SLOTS]; /* Tags used for held commands. */
struct mtx mtx; /* state lock */
int devices; /* What is present */
int pm_present; /* PM presence reported */
@@ -556,7 +556,7 @@ struct mvs_channel {
int numdslots; /* Number of DMA slots */
int numtslots; /* Number of NCQ slots */
int numtslotspd[16];/* Number of NCQ slots per dev */
- int numhslots; /* Number of holden slots */
+ int numhslots; /* Number of held slots */
int recoverycmd; /* Our READ LOG active */
int fatalerr; /* Fatal error happend */
int lastslot; /* Last used slot */
OpenPOWER on IntegriCloud