summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
committerpfg <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
commiteed4bd22add2269ccde27996035581801316c610 (patch)
treefe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/mly
parent759c5e424131bdbb2db154a8f626569c324004d2 (diff)
downloadFreeBSD-src-eed4bd22add2269ccde27996035581801316c610.zip
FreeBSD-src-eed4bd22add2269ccde27996035581801316c610.tar.gz
sys/dev: minor spelling fixes.
Most affect comments, very few have user-visible effects.
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly.c2
-rw-r--r--sys/dev/mly/mlyreg.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index 7c4ed41..cbae482 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -1931,7 +1931,7 @@ mly_unmap_command(struct mly_command *mc)
* the kernel environment variable "hw.mly.register_physical_channels" is set.
*
* When we refer to a "bus", we are referring to the bus number registered with
- * the SIM, wheras a "channel" is a channel number given to the adapter. In order
+ * the SIM, whereas a "channel" is a channel number given to the adapter. In order
* to keep things simple, we map these 1:1, so "bus" and "channel" may be used
* interchangeably.
*/
diff --git a/sys/dev/mly/mlyreg.h b/sys/dev/mly/mlyreg.h
index a4106a5..9e5715b 100644
--- a/sys/dev/mly/mlyreg.h
+++ b/sys/dev/mly/mlyreg.h
@@ -138,7 +138,7 @@ struct mly_sg_entry {
*/
struct mly_lun_map {
u_int8_t res1:4;
- u_int8_t host_port_mapped:1; /* this system drive visibile to host on this controller/port combination */
+ u_int8_t host_port_mapped:1; /* this system drive visible to host on this controller/port combination */
u_int8_t tid_valid:1; /* target ID valid */
u_int8_t hid_valid:1; /* host ID valid */
u_int8_t lun_valid:1; /* LUN valid */
@@ -1208,7 +1208,7 @@ union mly_command_packet {
* PG6: 5.4.4 Doorbell 1
*
* Note that the documentation claims that these bits are set when the
- * status queue(s) are empty, wheras the Linux driver and experience
+ * status queue(s) are empty, whereas the Linux driver and experience
* suggest they are set when there is status available.
*/
#define MLY_HM_STSREADY (1<<0)
OpenPOWER on IntegriCloud