svn commit: r299081 - in head/sys/dev/pms/freebsd/driver: common ini/src
Pedro F. Giffuni
pfg at FreeBSD.org
Wed May 4 17:52:55 UTC 2016
Author: pfg
Date: Wed May 4 17:52:53 2016
New Revision: 299081
URL: https://svnweb.freebsd.org/changeset/base/299081
Log:
dev/pms: minor spelling fixes for the FreeBSD-specific part.
Modified:
head/sys/dev/pms/freebsd/driver/common/lxcommon.h
head/sys/dev/pms/freebsd/driver/common/osenv.h
head/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
head/sys/dev/pms/freebsd/driver/ini/src/osapi.c
Modified: head/sys/dev/pms/freebsd/driver/common/lxcommon.h
==============================================================================
--- head/sys/dev/pms/freebsd/driver/common/lxcommon.h Wed May 4 17:29:07 2016 (r299080)
+++ head/sys/dev/pms/freebsd/driver/common/lxcommon.h Wed May 4 17:52:53 2016 (r299081)
@@ -452,7 +452,7 @@ typedef struct _ag_card_info {
/*
** Optional Adjustable Parameters Structures.
-** Not using pointer stucture for easy read and access tree structure.
+** Not using pointer structure for easy read and access tree structure.
** In the future if more layer of key tree involved, it might be a good
** idea to change the structure and program.
*/
@@ -637,7 +637,7 @@ typedef struct _LINK_LIST
{
PLINK_NODE pHead;
bit32 Count;
- LINK_NODE Head __cacheline_aligned; // allways one link to speed up insert&rm
+ LINK_NODE Head __cacheline_aligned; // always one link to speed up insert&rm
} LINK_LIST, * PLINK_LIST __cacheline_aligned;
Modified: head/sys/dev/pms/freebsd/driver/common/osenv.h
==============================================================================
--- head/sys/dev/pms/freebsd/driver/common/osenv.h Wed May 4 17:29:07 2016 (r299080)
+++ head/sys/dev/pms/freebsd/driver/common/osenv.h Wed May 4 17:52:53 2016 (r299081)
@@ -28,7 +28,7 @@ Version Control Information:
$RCSfile: osenv.h,v $
$Revision: 114125 $
-Note: This file defines the working enviornment of the system. All
+Note: This file defines the working environment of the system. All
defines listed in this file could also be compiler flags.
I am listing all the defines (even if used as a compiler flag)
so that they can be seen and documented.
@@ -41,7 +41,7 @@ Note: This file defines the working env
/*
** Define the protocols to compile with. Currently, these defines are
** only for this header file and are used further down to define the protocol
-** specific enviornment:
+** specific environment:
**
** #define AG_PROTOCOL_ISCSI
** #define AG_PROTOCOL_FC
@@ -87,12 +87,12 @@ Note: This file defines the working env
#endif
/***************************************************************************
-iSCSI enviornment - The following is used for compiling the iSCSI
+iSCSI environment - The following is used for compiling the iSCSI
protocol.
**************************************************************************/
/*
-** Define the existance of an external bus swapper using on of the
+** Define the existence of an external bus swapper using on of the
** following:
**
** #define AG_SWAPPING_BUS
@@ -109,7 +109,7 @@ iSCSI enviornment - The following is use
/* #define AG_CACHED_MSG_SYSTEM */
/***************************************************************************
-FC enviornment - The following is used for compiling the FC protocol.
+FC environment - The following is used for compiling the FC protocol.
**************************************************************************/
/*
Modified: head/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
==============================================================================
--- head/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c Wed May 4 17:29:07 2016 (r299080)
+++ head/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c Wed May 4 17:52:53 2016 (r299081)
@@ -3749,7 +3749,7 @@ static void agtiapi_PrepareSMPSGListCB(
return;
}
/* TODO: add indirect handling */
- /* set the flag correctly based on Indiret SMP request and responce */
+ /* set the flag correctly based on Indiret SMP request and response */
AGTIAPI_PRINTK( "agtiapi_PrepareSMPSGListCB: send ccb pccb->devHandle %p, "
"pccb->targetId %d TID %d pmcsc->devDiscover %d card %p\n",
@@ -5811,7 +5811,7 @@ agtiapi_ReleaseCCBs()
Purpose:
Free all allocated CCB memories for the Host Adapter.
Parameters:
- struct agtiapi_softc *pCard (IN) Pointer to HBA data stucture
+ struct agtiapi_softc *pCard (IN) Pointer to HBA data structure
Return:
Note:
******************************************************************************/
Modified: head/sys/dev/pms/freebsd/driver/ini/src/osapi.c
==============================================================================
--- head/sys/dev/pms/freebsd/driver/ini/src/osapi.c Wed May 4 17:29:07 2016 (r299080)
+++ head/sys/dev/pms/freebsd/driver/ini/src/osapi.c Wed May 4 17:52:53 2016 (r299081)
@@ -172,7 +172,7 @@ void ostiInitiatorEvent( tiRoot_t *ptiRo
ccbIO = pccb->pccbIO;
if (ccbIO->startTime == 0) /* IO has been completed. */
{
- AGTIAPI_PRINTK("tiIntrEventTypeTaskManagement: TM failed becasue IO has been completed! pTMccb %p flag %x \n",
+ AGTIAPI_PRINTK("tiIntrEventTypeTaskManagement: TM failed because IO has been completed! pTMccb %p flag %x \n",
pccb, pccb->flags);
}
else
@@ -443,7 +443,7 @@ ostiInitiatorSMPCompleted(tiRoot_t
struct ccb_smpio *csmpio = &ccb->smpio;
memcpy(csmpio->smp_response, tiFrameHandle, tiSMPInfoLen);
csmpio->smp_response_len = tiSMPInfoLen;
- agtiapi_hexdump("ostiInitiatorSMPCompleted: Responce Payload in CAM", (bit8 *)csmpio->smp_response, csmpio->smp_response_len);
+ agtiapi_hexdump("ostiInitiatorSMPCompleted: Response Payload in CAM", (bit8 *)csmpio->smp_response, csmpio->smp_response_len);
}
pccb->flags |= REQ_DONE;
agtiapi_QueueCCB(pCard, &pCard->smpDoneHead, &pCard->smpDoneTail
More information about the svn-src-all
mailing list