summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-04-22 09:59:16 +0000
committermarius <marius@FreeBSD.org>2011-04-22 09:59:16 +0000
commite383f1dc17c2a1cde6ee2daa1611de1e9869706c (patch)
treee10bd892919de3ae40f2fb558b646cc48ec14bbd /sys/dev/mpt
parent1e628078986501f9695dee0e05f24d63e2ecfd22 (diff)
downloadFreeBSD-src-e383f1dc17c2a1cde6ee2daa1611de1e9869706c.zip
FreeBSD-src-e383f1dc17c2a1cde6ee2daa1611de1e9869706c.tar.gz
Correct spelling.
Submitted by: brucec
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r--sys/dev/mpt/mpt.c18
-rw-r--r--sys/dev/mpt/mpt.h6
-rw-r--r--sys/dev/mpt/mpt_cam.c4
-rw-r--r--sys/dev/mpt/mpt_debug.c8
-rw-r--r--sys/dev/mpt/mpt_pci.c2
5 files changed, 19 insertions, 19 deletions
diff --git a/sys/dev/mpt/mpt.c b/sys/dev/mpt/mpt.c
index c42be81..fb24025 100644
--- a/sys/dev/mpt/mpt.c
+++ b/sys/dev/mpt/mpt.c
@@ -304,28 +304,28 @@ mpt_modevent(module_t mod, int type, void *data)
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, request_t *req,
{
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, int tn, int needreset)
/*
* 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
diff --git a/sys/dev/mpt/mpt.h b/sys/dev/mpt/mpt.h
index cf72194..47af5ba 100644
--- a/sys/dev/mpt/mpt.h
+++ b/sys/dev/mpt/mpt.h
@@ -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 *mpt)
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)
diff --git a/sys/dev/mpt/mpt_cam.c b/sys/dev/mpt/mpt_cam.c
index 30c56b1..1b997d1 100644
--- a/sys/dev/mpt/mpt_cam.c
+++ b/sys/dev/mpt/mpt_cam.c
@@ -3015,7 +3015,7 @@ mpt_fc_els_reply_handler(struct mpt_softc *mpt, request_t *req,
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);
diff --git a/sys/dev/mpt/mpt_debug.c b/sys/dev/mpt/mpt_debug.c
index fd723cb..e7f75fa 100644
--- a/sys/dev/mpt/mpt_debug.c
+++ b/sys/dev/mpt/mpt_debug.c
@@ -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},
diff --git a/sys/dev/mpt/mpt_pci.c b/sys/dev/mpt/mpt_pci.c
index ecceb6d..a3cb611 100644
--- a/sys/dev/mpt/mpt_pci.c
+++ b/sys/dev/mpt/mpt_pci.c
@@ -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",
OpenPOWER on IntegriCloud