Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2011 17:01:14 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r224336 - stable/8/sys/dev/mpt
Message-ID:  <201107251701.p6PH1ENt066240@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Mon Jul 25 17:01:13 2011
New Revision: 224336
URL: http://svn.freebsd.org/changeset/base/224336

Log:
  MFC: r220945
  
  Correct spelling.
  
  Submitted by:	brucec

Modified:
  stable/8/sys/dev/mpt/mpt.c
  stable/8/sys/dev/mpt/mpt.h
  stable/8/sys/dev/mpt/mpt_cam.c
  stable/8/sys/dev/mpt/mpt_debug.c
  stable/8/sys/dev/mpt/mpt_pci.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/geom/label/   (props changed)

Modified: stable/8/sys/dev/mpt/mpt.c
==============================================================================
--- stable/8/sys/dev/mpt/mpt.c	Mon Jul 25 16:59:41 2011	(r224335)
+++ stable/8/sys/dev/mpt/mpt.c	Mon Jul 25 17:01:13 2011	(r224336)
@@ -304,28 +304,28 @@ mpt_modevent(module_t mod, int type, voi
 int
 mpt_stdload(struct mpt_personality *pers)
 {
-	/* Load is always successfull. */
+	/* Load is always successful. */
 	return (0);
 }
 
 int
 mpt_stdprobe(struct mpt_softc *mpt)
 {
-	/* Probe is always successfull. */
+	/* Probe is always successful. */
 	return (0);
 }
 
 int
 mpt_stdattach(struct mpt_softc *mpt)
 {
-	/* Attach is always successfull. */
+	/* Attach is always successful. */
 	return (0);
 }
 
 int
 mpt_stdenable(struct mpt_softc *mpt)
 {
-	/* Enable is always successfull. */
+	/* Enable is always successful. */
 	return (0);
 }
 
@@ -361,7 +361,7 @@ mpt_stddetach(struct mpt_softc *mpt)
 int
 mpt_stdunload(struct mpt_personality *pers)
 {
-	/* Unload is always successfull. */
+	/* Unload is always successful. */
 	return (0);
 }
 
@@ -659,7 +659,7 @@ mpt_core_event(struct mpt_softc *mpt, re
 	{
 		int i;
 
-		/* Some error occured that LSI wants logged */
+		/* Some error occurred that LSI wants logged */
 		mpt_prt(mpt, "EvtLogData: IOCLogInfo: 0x%08x\n",
 			msg->IOCLogInfo);
 		mpt_prt(mpt, "\tEvtLogData: Event Data:");
@@ -2354,7 +2354,7 @@ mpt_core_detach(struct mpt_softc *mpt)
 int
 mpt_core_unload(struct mpt_personality *pers)
 {
-	/* Unload is always successfull. */
+	/* Unload is always successful. */
 	return (0);
 }
 
@@ -2517,7 +2517,7 @@ mpt_dma_buf_alloc(struct mpt_softc *mpt)
 		return (1);
 	}
 
-	/* Allocate some DMA accessable memory for requests */
+	/* Allocate some DMA accessible memory for requests */
 	if (bus_dmamem_alloc(mpt->request_dmat, (void **)&mpt->request,
 	    BUS_DMA_NOWAIT | BUS_DMA_COHERENT, &mpt->request_dmap) != 0) {
 		mpt_prt(mpt, "cannot allocate %d bytes of request memory\n",
@@ -2715,7 +2715,7 @@ mpt_configure_ioc(struct mpt_softc *mpt,
 		/*
 		 * In some configurations, the IOC's firmware is
 		 * stored in a shared piece of system NVRAM that
-		 * is only accessable via the BIOS.  In this
+		 * is only accessible via the BIOS.  In this
 		 * case, the firmware keeps a copy of firmware in
 		 * RAM until the OS driver retrieves it.  Once
 		 * retrieved, we are responsible for re-downloading

Modified: stable/8/sys/dev/mpt/mpt.h
==============================================================================
--- stable/8/sys/dev/mpt/mpt.h	Mon Jul 25 16:59:41 2011	(r224335)
+++ stable/8/sys/dev/mpt/mpt.h	Mon Jul 25 17:01:13 2011	(r224336)
@@ -371,7 +371,7 @@ struct req_entry {
 	mpt_req_state_t	state;		/* Request State Information */
 	uint16_t	index;		/* Index of this entry */
 	uint16_t	IOCStatus;	/* Completion status */
-	uint16_t	ResponseCode;	/* TMF Reponse Code */
+	uint16_t	ResponseCode;	/* TMF Response Code */
 	uint16_t	serno;		/* serial number */
 	union ccb      *ccb;		/* CAM request */
 	void	       *req_vbuf;	/* Virtual Address of Entry */
@@ -714,7 +714,7 @@ struct mpt_softc {
 	 */
 	int			pci_msi_count;
 	struct resource *	pci_irq;	/* Interrupt map for chip */
-	void *			ih;		/* Interupt handle */
+	void *			ih;		/* Interrupt handle */
 	struct mpt_pci_cfg	pci_cfg;	/* saved PCI conf registers */
 
 	/*
@@ -1052,7 +1052,7 @@ mpt_pop_reply_queue(struct mpt_softc *mp
 void
 mpt_complete_request_chain(struct mpt_softc *, struct req_queue *, u_int);
 
-/************************** Scatter Gather Managment **************************/
+/************************** Scatter Gather Management **************************/
 /* MPT_RQSL- size of request frame, in bytes */
 #define	MPT_RQSL(mpt)		(mpt->ioc_facts.RequestFrameSize << 2)
 

Modified: stable/8/sys/dev/mpt/mpt_cam.c
==============================================================================
--- stable/8/sys/dev/mpt/mpt_cam.c	Mon Jul 25 16:59:41 2011	(r224335)
+++ stable/8/sys/dev/mpt/mpt_cam.c	Mon Jul 25 17:01:13 2011	(r224336)
@@ -3015,7 +3015,7 @@ mpt_fc_els_reply_handler(struct mpt_soft
 		elsbuf[1] = htobe32((ox_id << 16) | rx_id);
 		elsbuf[2] = htobe32(0x000ffff);
 		/*
-		 * Dork with the reply frame so that the reponse to it
+		 * Dork with the reply frame so that the response to it
 		 * will be correct.
 		 */
 		rp->Rctl_Did += ((BA_ACC - ABTS) << MPI_FC_RCTL_SHIFT);
@@ -3142,7 +3142,7 @@ XXXX
 				mpt_set_ccb_status(ccb, CAM_AUTOSENSE_FAIL);
 		} else if ((sstate & MPI_SCSI_STATE_RESPONSE_INFO_VALID) != 0) {
 
-			/* XXX Handle SPI-Packet and FCP-2 reponse info. */
+			/* XXX Handle SPI-Packet and FCP-2 response info. */
 			mpt_set_ccb_status(ccb, CAM_REQ_CMP_ERR);
 		} else
 			mpt_set_ccb_status(ccb, CAM_REQ_CMP);

Modified: stable/8/sys/dev/mpt/mpt_debug.c
==============================================================================
--- stable/8/sys/dev/mpt/mpt_debug.c	Mon Jul 25 16:59:41 2011	(r224335)
+++ stable/8/sys/dev/mpt/mpt_debug.c	Mon Jul 25 17:01:13 2011	(r224336)
@@ -119,15 +119,15 @@ static const struct Error_Map IOC_Status
 { MPI_IOCSTATUS_TARGET_NO_CONNECTION,     "SCSI Target: No Connection" },
 { MPI_IOCSTATUS_TARGET_XFER_COUNT_MISMATCH,"SCSI Target: Transfer Count Mismatch" },
 { MPI_IOCSTATUS_TARGET_FC_ABORTED,        "FC: Aborted" },
-{ MPI_IOCSTATUS_TARGET_FC_RX_ID_INVALID,  "FC: Recieve ID Invalid" },
-{ MPI_IOCSTATUS_TARGET_FC_DID_INVALID,    "FC: Recieve DID Invalid" },
+{ MPI_IOCSTATUS_TARGET_FC_RX_ID_INVALID,  "FC: Receive ID Invalid" },
+{ MPI_IOCSTATUS_TARGET_FC_DID_INVALID,    "FC: Receive DID Invalid" },
 { MPI_IOCSTATUS_TARGET_FC_NODE_LOGGED_OUT,"FC: Node Logged Out" },
 { MPI_IOCSTATUS_LAN_DEVICE_NOT_FOUND,     "LAN: Device Not Found" },
 { MPI_IOCSTATUS_LAN_DEVICE_FAILURE,       "LAN: Device Not Failure" },
 { MPI_IOCSTATUS_LAN_TRANSMIT_ERROR,       "LAN: Transmit Error" },
 { MPI_IOCSTATUS_LAN_TRANSMIT_ABORTED,     "LAN: Transmit Aborted" },
-{ MPI_IOCSTATUS_LAN_RECEIVE_ERROR,        "LAN: Recieve Error" },
-{ MPI_IOCSTATUS_LAN_RECEIVE_ABORTED,      "LAN: Recieve Aborted" },
+{ MPI_IOCSTATUS_LAN_RECEIVE_ERROR,        "LAN: Receive Error" },
+{ MPI_IOCSTATUS_LAN_RECEIVE_ABORTED,      "LAN: Receive Aborted" },
 { MPI_IOCSTATUS_LAN_PARTIAL_PACKET,       "LAN: Partial Packet" },
 { MPI_IOCSTATUS_LAN_CANCELED,             "LAN: Canceled" },
 { -1, 0},

Modified: stable/8/sys/dev/mpt/mpt_pci.c
==============================================================================
--- stable/8/sys/dev/mpt/mpt_pci.c	Mon Jul 25 16:59:41 2011	(r224335)
+++ stable/8/sys/dev/mpt/mpt_pci.c	Mon Jul 25 17:01:13 2011	(r224336)
@@ -783,7 +783,7 @@ mpt_dma_mem_alloc(struct mpt_softc *mpt)
 		return (1);
 	}
 
-	/* Allocate some DMA accessable memory for replies */
+	/* Allocate some DMA accessible memory for replies */
 	if (bus_dmamem_alloc(mpt->reply_dmat, (void **)&mpt->reply,
 	    BUS_DMA_NOWAIT, &mpt->reply_dmap) != 0) {
 		mpt_prt(mpt, "cannot allocate %lu bytes of reply memory\n",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107251701.p6PH1ENt066240>