aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mfi
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/mfi
parent7860c0c3843dbb1cf8f4f2c20ee526e8dd2661da (diff)
Notes
Diffstat (limited to 'sys/dev/mfi')
-rw-r--r--sys/dev/mfi/mfi.c4
-rw-r--r--sys/dev/mfi/mfi_tbolt.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/mfi/mfi.c b/sys/dev/mfi/mfi.c
index 05751ba6dfa0..021a4243f6ba 100644
--- a/sys/dev/mfi/mfi.c
+++ b/sys/dev/mfi/mfi.c
@@ -539,7 +539,7 @@ mfi_attach(struct mfi_softc *sc)
/*
Allocate DMA memory mapping for MPI2 IOC Init descriptor,
- we are taking it diffrent from what we have allocated for Request
+ we are taking it different from what we have allocated for Request
and reply descriptors to avoid confusion later
*/
tb_mem_size = sizeof(struct MPI2_IOC_INIT_REQUEST);
@@ -2351,7 +2351,7 @@ mfi_data_cb(void *arg, bus_dma_segment_t *segs, int nsegs, int error)
/*
* We need to check if we have the lock as this is async
* callback so even though our caller mfi_mapcmd asserts
- * it has the lock, there is no garantee that hasn't been
+ * it has the lock, there is no guarantee that hasn't been
* dropped if bus_dmamap_load returned prior to our
* completion.
*/
diff --git a/sys/dev/mfi/mfi_tbolt.c b/sys/dev/mfi/mfi_tbolt.c
index 984c355321e7..3f83eb95962b 100644
--- a/sys/dev/mfi/mfi_tbolt.c
+++ b/sys/dev/mfi/mfi_tbolt.c
@@ -1148,7 +1148,7 @@ mfi_tbolt_send_frame(struct mfi_softc *sc, struct mfi_command *cm)
* This is a polled command, so busy-wait for it to complete.
*
* The value of hdr->cmd_status is updated directly by the hardware
- * so there is no garantee that mfi_tbolt_complete_cmd is called
+ * so there is no guarantee that mfi_tbolt_complete_cmd is called
* prior to this value changing.
*/
while (hdr->cmd_status == MFI_STAT_INVALID_STATUS) {
@@ -1351,7 +1351,7 @@ mfi_process_fw_state_chg_isr(void *arg)
* interrupt thread.
*
* The driver could get the RAID state via the MFI_DCMD_LD_MAP_GET_INFO
- * That requires a bunch of structure and it is simplier to just do
+ * That requires a bunch of structure and it is simpler to just do
* the MFI_DCMD_LD_GET_LIST versus walking the RAID map.
*/