aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hptmv
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/hptmv
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/hptmv')
-rw-r--r--sys/dev/hptmv/array.h2
-rw-r--r--sys/dev/hptmv/command.h2
-rw-r--r--sys/dev/hptmv/entry.c4
-rw-r--r--sys/dev/hptmv/hptintf.h2
-rw-r--r--sys/dev/hptmv/mvOs.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/hptmv/array.h b/sys/dev/hptmv/array.h
index 7b507748f5e7..2caf413ccb0f 100644
--- a/sys/dev/hptmv/array.h
+++ b/sys/dev/hptmv/array.h
@@ -99,7 +99,7 @@ typedef struct _RaidArray
} RaidArray;
/***************************************************************************
- * Array Descripton on disk
+ * Array Description on disk
***************************************************************************/
#pragma pack(1)
typedef struct _ArrayDescript
diff --git a/sys/dev/hptmv/command.h b/sys/dev/hptmv/command.h
index 3b6a53b26ce8..de51356cdd8f 100644
--- a/sys/dev/hptmv/command.h
+++ b/sys/dev/hptmv/command.h
@@ -128,7 +128,7 @@ typedef struct _Command
/* called when this command is finished */
void (* HPTLIBAPI pfnCompletion)(_VBUS_ARG PCommand pCmd);
- /* pointer to origional command */
+ /* pointer to original command */
void *pOrgCommand;
diff --git a/sys/dev/hptmv/entry.c b/sys/dev/hptmv/entry.c
index 9a1b91b58e18..a3ef3644ae20 100644
--- a/sys/dev/hptmv/entry.c
+++ b/sys/dev/hptmv/entry.c
@@ -164,7 +164,7 @@ char DRIVER_VERSION[] = "v1.16";
*
* Description: free allocated queues for the given channel
*
- * Parameters: pMvSataAdapter - pointer to the RR18xx controler this
+ * Parameters: pMvSataAdapter - pointer to the RR18xx controller this
* channel connected to.
* channelNum - channel number.
*
@@ -309,7 +309,7 @@ hptmv_init_channel(IAL_ADAPTER_T *pAdapter, MV_U8 channelNum)
*
* Description: this functions parses the identify command results, checks
* that the connected deives can be accesed by RR18xx EDMA,
- * and updates the channel stucture accordingly.
+ * and updates the channel structure accordingly.
*
* Parameters: pMvSataChannel, pointer to the channel data structure.
*
diff --git a/sys/dev/hptmv/hptintf.h b/sys/dev/hptmv/hptintf.h
index 09d638fd3955..191795c048cb 100644
--- a/sys/dev/hptmv/hptintf.h
+++ b/sys/dev/hptmv/hptintf.h
@@ -101,7 +101,7 @@ typedef DWORD DEVICEID;
#define MAX_ARRAY_MEMBERS_V1 8
#define MAX_ARRAY_MEMBERS_V2 16
-/* keep definition for source code compatiblity */
+/* keep definition for source code compatibility */
#define MAX_ARRAY_MEMBERS MAX_ARRAY_MEMBERS_V1
/*
diff --git a/sys/dev/hptmv/mvOs.h b/sys/dev/hptmv/mvOs.h
index a1ababc3f788..31109738fa0e 100644
--- a/sys/dev/hptmv/mvOs.h
+++ b/sys/dev/hptmv/mvOs.h
@@ -72,7 +72,7 @@ typedef enum mvBoolean{MV_FALSE, MV_TRUE} MV_BOOLEAN;
#define NULL 0
#endif
-/* System dependant typedefs */
+/* System dependent typedefs */
typedef void MV_VOID;
typedef unsigned int MV_U32;
typedef unsigned short MV_U16;