From owner-svn-src-all@freebsd.org Wed May 4 17:52:55 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 530D4B2CF70; Wed, 4 May 2016 17:52:55 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 16D411BDE; Wed, 4 May 2016 17:52:55 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u44Hqs3D068637; Wed, 4 May 2016 17:52:54 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u44HqrEW068633; Wed, 4 May 2016 17:52:53 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <201605041752.u44HqrEW068633@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Wed, 4 May 2016 17:52:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299081 - in head/sys/dev/pms/freebsd/driver: common ini/src X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2016 17:52:55 -0000 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