aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mps
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/mps
parent7860c0c3843dbb1cf8f4f2c20ee526e8dd2661da (diff)
Notes
Diffstat (limited to 'sys/dev/mps')
-rw-r--r--sys/dev/mps/mpi/mpi2_history.txt2
-rw-r--r--sys/dev/mps/mpi/mpi2_init.h2
-rw-r--r--sys/dev/mps/mps.c8
-rw-r--r--sys/dev/mps/mps_config.c2
-rw-r--r--sys/dev/mps/mps_mapping.h2
-rw-r--r--sys/dev/mps/mps_sas.c6
-rw-r--r--sys/dev/mps/mps_sas_lsi.c2
7 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/mps/mpi/mpi2_history.txt b/sys/dev/mps/mpi/mpi2_history.txt
index d0c2c1d2383c..45af49025104 100644
--- a/sys/dev/mps/mpi/mpi2_history.txt
+++ b/sys/dev/mps/mpi/mpi2_history.txt
@@ -247,7 +247,7 @@ mpi2_init.h
* 05-21-08 02.00.05 Fixed typo in name of Mpi2SepRequest_t.
* 10-02-08 02.00.06 Removed Untagged and No Disconnect values from SCSI IO
* Control field Task Attribute flags.
- * Moved LUN field defines to mpi2.h becasue they are
+ * Moved LUN field defines to mpi2.h because they are
* common to many structures.
* 05-06-09 02.00.07 Changed task management type of Query Unit Attention to
* Query Asynchronous Event.
diff --git a/sys/dev/mps/mpi/mpi2_init.h b/sys/dev/mps/mpi/mpi2_init.h
index 189e457017e2..a75873ceee0a 100644
--- a/sys/dev/mps/mpi/mpi2_init.h
+++ b/sys/dev/mps/mpi/mpi2_init.h
@@ -53,7 +53,7 @@
* 05-21-08 02.00.05 Fixed typo in name of Mpi2SepRequest_t.
* 10-02-08 02.00.06 Removed Untagged and No Disconnect values from SCSI IO
* Control field Task Attribute flags.
- * Moved LUN field defines to mpi2.h becasue they are
+ * Moved LUN field defines to mpi2.h because they are
* common to many structures.
* 05-06-09 02.00.07 Changed task management type of Query Unit Attention to
* Query Asynchronous Event.
diff --git a/sys/dev/mps/mps.c b/sys/dev/mps/mps.c
index ce24eed1eaa2..b564b335efd7 100644
--- a/sys/dev/mps/mps.c
+++ b/sys/dev/mps/mps.c
@@ -782,7 +782,7 @@ mps_wait_db_ack(struct mps_softc *sc, int timeout, int sleep_flag)
int_status = mps_regread(sc, MPI2_HOST_INTERRUPT_STATUS_OFFSET);
if (!(int_status & MPI2_HIS_SYS2IOC_DB_STATUS)) {
mps_dprint(sc, MPS_INIT,
- "%s: successfull count(%d), timeout(%d)\n",
+ "%s: successful count(%d), timeout(%d)\n",
__func__, count, timeout);
return 0;
} else if (int_status & MPI2_HIS_IOC2SYS_DB_STATUS) {
@@ -1907,7 +1907,7 @@ mps_intr_locked(void *data)
sc->reply_frames, sc->fqdepth,
sc->facts->ReplyFrameSize * 4);
printf("%s: baddr %#x,\n", __func__, baddr);
- /* LSI-TODO. See Linux Code. Need Gracefull exit*/
+ /* LSI-TODO. See Linux Code. Need Graceful exit*/
panic("Reply address out of range");
}
if (le16toh(desc->AddressReply.SMID) == 0) {
@@ -2192,7 +2192,7 @@ mps_add_chain(struct mps_command *cm)
* sgc->Flags = ( MPI2_SGE_FLAGS_CHAIN_ELEMENT | MPI2_SGE_FLAGS_64_BIT_ADDRESSING |
* MPI2_SGE_FLAGS_SYSTEM_ADDRESS) << MPI2_SGE_FLAGS_SHIFT
* This is fine.. because we are not using simple element. In case of
- * MPI2_SGE_CHAIN32, we have seperate Length and Flags feild.
+ * MPI2_SGE_CHAIN32, we have separate Length and Flags feild.
*/
sgc->Flags = MPI2_SGE_FLAGS_CHAIN_ELEMENT;
sgc->Address = htole32(chain->chain_busaddr);
@@ -2558,7 +2558,7 @@ mps_wait_command(struct mps_softc *sc, struct mps_command *cm, int timeout,
/*
* The MPT driver had a verbose interface for config pages. In this driver,
- * reduce it to much simplier terms, similar to the Linux driver.
+ * reduce it to much simpler terms, similar to the Linux driver.
*/
int
mps_read_config_page(struct mps_softc *sc, struct mps_config_params *params)
diff --git a/sys/dev/mps/mps_config.c b/sys/dev/mps/mps_config.c
index 9ecfbb3f36e3..c21506d39825 100644
--- a/sys/dev/mps/mps_config.c
+++ b/sys/dev/mps/mps_config.c
@@ -366,7 +366,7 @@ mps_base_static_config_pages(struct mps_softc *sc)
/**
* mps_wd_config_pages - get info required to support WarpDrive. This needs to
- * be called after discovery is complete to guarentee that IR info is there.
+ * be called after discovery is complete to guarantee that IR info is there.
* @sc: per adapter object
*
* Return nothing.
diff --git a/sys/dev/mps/mps_mapping.h b/sys/dev/mps/mps_mapping.h
index c370d504bfd7..9803b806e596 100644
--- a/sys/dev/mps/mps_mapping.h
+++ b/sys/dev/mps/mps_mapping.h
@@ -33,7 +33,7 @@
#define _MPS_MAPPING_H
/**
- * struct _map_phy_change - PHY entries recieved in Topology change list
+ * struct _map_phy_change - PHY entries received in Topology change list
* @physical_id: SAS address of the device attached with the associate PHY
* @device_info: bitfield provides detailed info about the device
* @dev_handle: device handle for the device pointed by this entry
diff --git a/sys/dev/mps/mps_sas.c b/sys/dev/mps/mps_sas.c
index 8cba1d72286c..a4dd3e1a4c78 100644
--- a/sys/dev/mps/mps_sas.c
+++ b/sys/dev/mps/mps_sas.c
@@ -2502,7 +2502,7 @@ mpssas_direct_drive_io(struct mpssas_softc *sassc, struct mps_command *cm,
* Check if the I/O crosses a stripe boundary. If not,
* translate the virtual LBA to a physical LBA and set
* the DevHandle for the PhysDisk to be used. If it
- * does cross a boundry, do normal I/O. To get the
+ * does cross a boundary, do normal I/O. To get the
* right DevHandle to use, get the map number for the
* column, then use that map number to look up the
* DevHandle of the PhysDisk.
@@ -2588,7 +2588,7 @@ mpssas_direct_drive_io(struct mpssas_softc *sassc, struct mps_command *cm,
* If not, translate the virtual LBA to a
* physical LBA and set the DevHandle for the
* PhysDisk to be used. If it does cross a
- * boundry, do normal I/O. To get the right
+ * boundary, do normal I/O. To get the right
* DevHandle to use, get the map number for the
* column, then use that map number to look up
* the DevHandle of the PhysDisk.
@@ -2666,7 +2666,7 @@ mpssas_direct_drive_io(struct mpssas_softc *sassc, struct mps_command *cm,
* If not, translate the virtual LBA to a
* physical LBA and set the DevHandle for the
* PhysDisk to be used. If it does cross a
- * boundry, do normal I/O. To get the right
+ * boundary, do normal I/O. To get the right
* DevHandle to use, get the map number for the
* column, then use that map number to look up
* the DevHandle of the PhysDisk.
diff --git a/sys/dev/mps/mps_sas_lsi.c b/sys/dev/mps/mps_sas_lsi.c
index 268383ada440..e9fa06bc0574 100644
--- a/sys/dev/mps/mps_sas_lsi.c
+++ b/sys/dev/mps/mps_sas_lsi.c
@@ -647,7 +647,7 @@ mpssas_add_device(struct mps_softc *sc, u16 handle, u8 linkrate){
parent_devinfo = le32toh(parent_config_page.DeviceInfo);
}
}
- /* TODO Check proper endianess */
+ /* TODO Check proper endianness */
sas_address = config_page.SASAddress.High;
sas_address = (sas_address << 32) | config_page.SASAddress.Low;