aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aic7xxx/aicasm
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-10 16:40:19 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-10 16:40:19 +0000
commit594c945a5419a2983c0329a0fae4e1e1cadd96f9 (patch)
treeeb259c0530ef8bde17c4bb6a85991660a7d24087 /sys/dev/aic7xxx/aicasm
parentae14b49908f178c9b2b4c70161f347c84d066e83 (diff)
Notes
Diffstat (limited to 'sys/dev/aic7xxx/aicasm')
-rw-r--r--sys/dev/aic7xxx/aicasm/aicasm.c2
-rw-r--r--sys/dev/aic7xxx/aicasm/aicasm_gram.y6
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/aic7xxx/aicasm/aicasm.c b/sys/dev/aic7xxx/aicasm/aicasm.c
index b5e159213e5c..6a788023a2df 100644
--- a/sys/dev/aic7xxx/aicasm/aicasm.c
+++ b/sys/dev/aic7xxx/aicasm/aicasm.c
@@ -668,7 +668,7 @@ check_patch(patch_t **start_patch, unsigned int start_instr,
cur_patch = STAILQ_NEXT(cur_patch, links);
} else {
/* Accepted this patch. Advance to the next
- * one and wait for our intruction pointer to
+ * one and wait for our instruction pointer to
* hit this point.
*/
cur_patch = STAILQ_NEXT(cur_patch, links);
diff --git a/sys/dev/aic7xxx/aicasm/aicasm_gram.y b/sys/dev/aic7xxx/aicasm/aicasm_gram.y
index 5c28f3bfe1e6..87fe1a25bf0a 100644
--- a/sys/dev/aic7xxx/aicasm/aicasm_gram.y
+++ b/sys/dev/aic7xxx/aicasm/aicasm_gram.y
@@ -1286,8 +1286,8 @@ code:
;
/*
- * This grammer differs from the one in the aic7xxx
- * reference manual since the grammer listed there is
+ * This grammar differs from the one in the aic7xxx
+ * reference manual since the grammar listed there is
* ambiguous and causes a shift/reduce conflict.
* It also seems more logical as the "immediate"
* argument is listed as the second arg like the
@@ -1753,7 +1753,7 @@ format_3_instr(int opcode, symbol_ref_t *src,
instr = seq_alloc();
f3_instr = &instr->format.format3;
if (address->symbol == NULL) {
- /* 'dot' referrence. Use the current instruction pointer */
+ /* 'dot' reference. Use the current instruction pointer */
addr = instruction_ptr + address->offset;
} else if (address->symbol->type == UNINITIALIZED) {
/* forward reference */