diff options
author | mav <mav@FreeBSD.org> | 2011-04-19 10:57:40 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2011-04-19 10:57:40 +0000 |
commit | ccce60bdebf47a73c06de1dee77e181afbcaf538 (patch) | |
tree | d419c5f6b9f92c4f5744fe579ce7b6e76f64cf7d /sys/dev/siis | |
parent | 0b4c44825012153bafde75c6c26c6b0a1e1d2176 (diff) | |
download | FreeBSD-src-ccce60bdebf47a73c06de1dee77e181afbcaf538.zip FreeBSD-src-ccce60bdebf47a73c06de1dee77e181afbcaf538.tar.gz |
Fix some English grammar.
Diffstat (limited to 'sys/dev/siis')
-rw-r--r-- | sys/dev/siis/siis.c | 10 | ||||
-rw-r--r-- | sys/dev/siis/siis.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/siis/siis.c b/sys/dev/siis/siis.c index c18b449..01edae3 100644 --- a/sys/dev/siis/siis.c +++ b/sys/dev/siis/siis.c @@ -1366,7 +1366,7 @@ siis_issue_recovery(device_t dev) struct ccb_scsiio *csio; int i; - /* Find some holden command. */ + /* Find some held command. */ for (i = 0; i < SIIS_MAX_SLOTS; i++) { if (ch->hold[i]) break; @@ -1375,9 +1375,9 @@ siis_issue_recovery(device_t dev) return; 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 < SIIS_MAX_SLOTS; i++) { if (ch->hold[i] == NULL) continue; @@ -1402,7 +1402,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; @@ -1601,7 +1601,7 @@ siis_reset(device_t dev) /* XXX; Commands in loading state. */ siis_end_transaction(&ch->slot[i], SIIS_ERR_INNOCENT); } - /* Finish all holden commands as-is. */ + /* Finish all held commands as-is. */ for (i = 0; i < SIIS_MAX_SLOTS; i++) { if (!ch->hold[i]) continue; diff --git a/sys/dev/siis/siis.h b/sys/dev/siis/siis.h index 16be0a9..fcfc4d2 100644 --- a/sys/dev/siis/siis.h +++ b/sys/dev/siis/siis.h @@ -387,7 +387,7 @@ struct siis_channel { uint32_t toslots; /* Slots in timeout */ int numrslots; /* Number of running slots */ int numtslots[SIIS_MAX_SLOTS]; /* Number of tagged slots */ - int numhslots; /* Number of holden slots */ + int numhslots; /* Number of held slots */ int recoverycmd; /* Our READ LOG active */ int fatalerr; /* Fatal error happend */ int recovery; /* Some slots are in error */ |