aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mvs
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
commit453130d9bfc1c6d68b366dfcb041689d69f81295 (patch)
treefe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/mvs
parent7860c0c3843dbb1cf8f4f2c20ee526e8dd2661da (diff)
downloadsrc-453130d9bfc1c6d68b366dfcb041689d69f81295.tar.gz
src-453130d9bfc1c6d68b366dfcb041689d69f81295.zip
sys/dev: minor spelling fixes.
Most affect comments, very few have user-visible effects.
Notes
Notes: svn path=/head/; revision=298955
Diffstat (limited to 'sys/dev/mvs')
-rw-r--r--sys/dev/mvs/mvs.c4
-rw-r--r--sys/dev/mvs/mvs.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mvs/mvs.c b/sys/dev/mvs/mvs.c
index 699c22f3d097..b3ff4d103843 100644
--- a/sys/dev/mvs/mvs.c
+++ b/sys/dev/mvs/mvs.c
@@ -475,7 +475,7 @@ mvs_setup_edma_queues(device_t dev)
ATA_OUTL(ch->r_mem, EDMA_REQQOP, work & 0xffffffff);
bus_dmamap_sync(ch->dma.workrq_tag, ch->dma.workrq_map,
BUS_DMASYNC_PREWRITE);
- /* Reponses queue. */
+ /* Responses queue. */
memset(ch->dma.workrp, 0xff, MVS_WORKRP_SIZE);
work = ch->dma.workrp_bus;
ATA_OUTL(ch->r_mem, EDMA_RESQBAH, work >> 32);
@@ -1042,7 +1042,7 @@ mvs_crbq_intr(device_t dev)
slot = le16toh(crpb->id) & MVS_CRPB_TAG_MASK;
flags = le16toh(crpb->rspflg);
/*
- * Handle only successfull completions here.
+ * Handle only successful completions here.
* Errors will be handled by main intr handler.
*/
#if defined(__i386__) || defined(__amd64__)
diff --git a/sys/dev/mvs/mvs.h b/sys/dev/mvs/mvs.h
index 163af50e70dc..51f1d51fc820 100644
--- a/sys/dev/mvs/mvs.h
+++ b/sys/dev/mvs/mvs.h
@@ -566,7 +566,7 @@ struct mvs_channel {
int numtslotspd[16];/* Number of NCQ slots per dev */
int numhslots; /* Number of held slots */
int recoverycmd; /* Our READ LOG active */
- int fatalerr; /* Fatal error happend */
+ int fatalerr; /* Fatal error happened */
int lastslot; /* Last used slot */
int taggedtarget; /* Last tagged target */
int resetting; /* Hard-reset in progress. */