aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dpt
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/dpt
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/dpt')
-rw-r--r--sys/dev/dpt/dpt.h4
-rw-r--r--sys/dev/dpt/dpt_scsi.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/dpt/dpt.h b/sys/dev/dpt/dpt.h
index a715e5884e62..6c0e341db475 100644
--- a/sys/dev/dpt/dpt.h
+++ b/sys/dev/dpt/dpt.h
@@ -1083,7 +1083,7 @@ typedef struct dpt_softc {
/*
* Every object on a unit can have a receiver, if it treats
- * us as a target. We do that so that separate and independant
+ * us as a target. We do that so that separate and independent
* clients can consume received buffers.
*/
@@ -1245,7 +1245,7 @@ dpt_softc_t *dpt_minor2softc(int minor_no);
#endif /* _KERNEL */
/*
- * This function substracts one timval structure from another,
+ * This function subtracts one timval structure from another,
* Returning the result in usec.
* It assumes that less than 4 billion usecs passed form start to end.
* If times are sensless, ~0 is returned.
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c
index e6bbf1f96927..26c0f2a01e64 100644
--- a/sys/dev/dpt/dpt_scsi.c
+++ b/sys/dev/dpt/dpt_scsi.c
@@ -31,7 +31,7 @@
__FBSDID("$FreeBSD$");
/*
- * dpt_scsi.c: SCSI dependant code for the DPT driver
+ * dpt_scsi.c: SCSI dependent code for the DPT driver
*
* credits: Assisted by Mike Neuffer in the early low level DPT code
* Thanx to Mark Salyzyn of DPT for his assistance.
@@ -95,7 +95,7 @@ devclass_t dpt_devclass;
/*
* These will have to be setup by parameters passed at boot/load time. For
- * perfromance reasons, we make them constants for the time being.
+ * performance reasons, we make them constants for the time being.
*/
#define dpt_min_segs DPT_MAX_SEGS
#define dpt_max_segs DPT_MAX_SEGS
@@ -598,7 +598,7 @@ dpt_detect_cache(dpt_softc_t *dpt, dpt_ccb_t *dccb, u_int32_t dccb_busaddr,
mtx_assert(&dpt->lock, MA_OWNED);
/*
- * Default setting, for best perfromance..
+ * Default setting, for best performance..
* This is what virtually all cards default to..
*/
dpt->cache_type = DPT_CACHE_WRITEBACK;
@@ -1878,7 +1878,7 @@ dpt_reset_hba(dpt_softc_t *dpt)
ccb->cp_msg[0] = HA_IDENTIFY_MSG | HA_DISCO_RECO;
ccb->cp_scsi_cmd = 0; /* Should be ignored */
- /* Lock up the submitted queue. We are very persistant here */
+ /* Lock up the submitted queue. We are very persistent here */
while (dpt->queue_status & DPT_SUBMITTED_QUEUE_ACTIVE) {
DELAY(100);
}