aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahb
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/ahb
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/ahb')
-rw-r--r--sys/dev/ahb/ahb.c4
-rw-r--r--sys/dev/ahb/ahbreg.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c
index 21c5f655418e..1135b04bfa29 100644
--- a/sys/dev/ahb/ahb.c
+++ b/sys/dev/ahb/ahb.c
@@ -885,7 +885,7 @@ ahbintr_locked(struct ahb_softc *ahb)
xpt_async(AC_BUS_RESET, ahb->path, NULL);
break;
}
- printf("Unsupported initiator selection AEN occured\n");
+ printf("Unsupported initiator selection AEN occurred\n");
break;
case INTSTAT_IMMED_OK:
case INTSTAT_IMMED_ERR:
@@ -1235,7 +1235,7 @@ ahbtimeout(void *arg)
* means that the driver attempts to clear only one error
* condition at a time. In general, timeouts that occur
* close together are related anyway, so there is no benefit
- * in attempting to handle errors in parrallel. Timeouts will
+ * in attempting to handle errors in parallel. Timeouts will
* be reinstated when the recovery process ends.
*/
if ((ecb->state & ECB_DEVICE_RESET) == 0) {
diff --git a/sys/dev/ahb/ahbreg.h b/sys/dev/ahb/ahbreg.h
index 23501eef5a6a..dabf409a3d8f 100644
--- a/sys/dev/ahb/ahbreg.h
+++ b/sys/dev/ahb/ahbreg.h
@@ -64,7 +64,7 @@
#define RSTBUS 0x10
#define BUSDEF 0x0C4
-#define B0uS 0x00 /* give up bus immediatly */
+#define B0uS 0x00 /* give up bus immediately */
#define B4uS 0x01 /* delay 4uSec. */
#define B8uS 0x02 /* delay 8uSec. */