From 4a00a65162d5c2f1f67ef9cb62880fc450497ede Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Wed, 4 May 2016 17:52:53 +0000 Subject: [PATCH] dev/pms: minor spelling fixes for the FreeBSD-specific part. --- sys/dev/pms/freebsd/driver/common/lxcommon.h | 4 ++-- sys/dev/pms/freebsd/driver/common/osenv.h | 10 +++++----- sys/dev/pms/freebsd/driver/ini/src/agtiapi.c | 4 ++-- sys/dev/pms/freebsd/driver/ini/src/osapi.c | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sys/dev/pms/freebsd/driver/common/lxcommon.h b/sys/dev/pms/freebsd/driver/common/lxcommon.h index 0df2702ec4e..71ce230c381 100644 --- a/sys/dev/pms/freebsd/driver/common/lxcommon.h +++ b/sys/dev/pms/freebsd/driver/common/lxcommon.h @@ -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; diff --git a/sys/dev/pms/freebsd/driver/common/osenv.h b/sys/dev/pms/freebsd/driver/common/osenv.h index 16b8aa9b4e1..491c29e9339 100644 --- a/sys/dev/pms/freebsd/driver/common/osenv.h +++ b/sys/dev/pms/freebsd/driver/common/osenv.h @@ -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 enviornment of the system. All /* ** 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 enviornment of the system. All #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 used for compiling the iSCSI /* #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. **************************************************************************/ /* diff --git a/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c b/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c index 640d34189be..f0646ddd532 100644 --- a/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c +++ b/sys/dev/pms/freebsd/driver/ini/src/agtiapi.c @@ -3749,7 +3749,7 @@ static void agtiapi_PrepareSMPSGListCB( void *arg, 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: ******************************************************************************/ diff --git a/sys/dev/pms/freebsd/driver/ini/src/osapi.c b/sys/dev/pms/freebsd/driver/ini/src/osapi.c index f46192341a1..2faaff8126f 100644 --- a/sys/dev/pms/freebsd/driver/ini/src/osapi.c +++ b/sys/dev/pms/freebsd/driver/ini/src/osapi.c @@ -172,7 +172,7 @@ void ostiInitiatorEvent( tiRoot_t *ptiRoot, 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 *ptiRoot, 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