Author: marius
Date: Fri Apr 22 09:59:16 2011
New Revision: 220945
URL: http://svn.freebsd.org/changeset/base/220945

Log:
  Correct spelling.
  
  Submitted by: brucec

Modified:
  head/sys/dev/mpt/mpt.c
  head/sys/dev/mpt/mpt.h
  head/sys/dev/mpt/mpt_cam.c
  head/sys/dev/mpt/mpt_debug.c
  head/sys/dev/mpt/mpt_pci.c

Modified: head/sys/dev/mpt/mpt.c
==============================================================================
--- head/sys/dev/mpt/mpt.c      Fri Apr 22 09:52:28 2011        (r220944)
+++ head/sys/dev/mpt/mpt.c      Fri Apr 22 09:59:16 2011        (r220945)
@@ -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: head/sys/dev/mpt/mpt.h
==============================================================================
--- head/sys/dev/mpt/mpt.h      Fri Apr 22 09:52:28 2011        (r220944)
+++ head/sys/dev/mpt/mpt.h      Fri Apr 22 09:59:16 2011        (r220945)
@@ -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: head/sys/dev/mpt/mpt_cam.c
==============================================================================
--- head/sys/dev/mpt/mpt_cam.c  Fri Apr 22 09:52:28 2011        (r220944)
+++ head/sys/dev/mpt/mpt_cam.c  Fri Apr 22 09:59:16 2011        (r220945)
@@ -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: head/sys/dev/mpt/mpt_debug.c
==============================================================================
--- head/sys/dev/mpt/mpt_debug.c        Fri Apr 22 09:52:28 2011        
(r220944)
+++ head/sys/dev/mpt/mpt_debug.c        Fri Apr 22 09:59:16 2011        
(r220945)
@@ -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: head/sys/dev/mpt/mpt_pci.c
==============================================================================
--- head/sys/dev/mpt/mpt_pci.c  Fri Apr 22 09:52:28 2011        (r220944)
+++ head/sys/dev/mpt/mpt_pci.c  Fri Apr 22 09:59:16 2011        (r220945)
@@ -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",
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to