Correct spelling.

Submitted by:	brucec
This commit is contained in:
Marius Strobl 2011-04-22 09:59:16 +00:00
parent 7b2f8db838
commit 5ab13afc94
5 changed files with 19 additions and 19 deletions

@ -304,28 +304,28 @@ mpt_modevent(module_t mod, int type, void *data)
int int
mpt_stdload(struct mpt_personality *pers) mpt_stdload(struct mpt_personality *pers)
{ {
/* Load is always successfull. */ /* Load is always successful. */
return (0); return (0);
} }
int int
mpt_stdprobe(struct mpt_softc *mpt) mpt_stdprobe(struct mpt_softc *mpt)
{ {
/* Probe is always successfull. */ /* Probe is always successful. */
return (0); return (0);
} }
int int
mpt_stdattach(struct mpt_softc *mpt) mpt_stdattach(struct mpt_softc *mpt)
{ {
/* Attach is always successfull. */ /* Attach is always successful. */
return (0); return (0);
} }
int int
mpt_stdenable(struct mpt_softc *mpt) mpt_stdenable(struct mpt_softc *mpt)
{ {
/* Enable is always successfull. */ /* Enable is always successful. */
return (0); return (0);
} }
@ -361,7 +361,7 @@ mpt_stddetach(struct mpt_softc *mpt)
int int
mpt_stdunload(struct mpt_personality *pers) mpt_stdunload(struct mpt_personality *pers)
{ {
/* Unload is always successfull. */ /* Unload is always successful. */
return (0); return (0);
} }
@ -659,7 +659,7 @@ mpt_core_event(struct mpt_softc *mpt, request_t *req,
{ {
int i; int i;
/* Some error occured that LSI wants logged */ /* Some error occurred that LSI wants logged */
mpt_prt(mpt, "EvtLogData: IOCLogInfo: 0x%08x\n", mpt_prt(mpt, "EvtLogData: IOCLogInfo: 0x%08x\n",
msg->IOCLogInfo); msg->IOCLogInfo);
mpt_prt(mpt, "\tEvtLogData: Event Data:"); mpt_prt(mpt, "\tEvtLogData: Event Data:");
@ -2354,7 +2354,7 @@ mpt_core_detach(struct mpt_softc *mpt)
int int
mpt_core_unload(struct mpt_personality *pers) mpt_core_unload(struct mpt_personality *pers)
{ {
/* Unload is always successfull. */ /* Unload is always successful. */
return (0); return (0);
} }
@ -2517,7 +2517,7 @@ mpt_dma_buf_alloc(struct mpt_softc *mpt)
return (1); 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, if (bus_dmamem_alloc(mpt->request_dmat, (void **)&mpt->request,
BUS_DMA_NOWAIT | BUS_DMA_COHERENT, &mpt->request_dmap) != 0) { BUS_DMA_NOWAIT | BUS_DMA_COHERENT, &mpt->request_dmap) != 0) {
mpt_prt(mpt, "cannot allocate %d bytes of request memory\n", 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 * In some configurations, the IOC's firmware is
* stored in a shared piece of system NVRAM that * 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 * case, the firmware keeps a copy of firmware in
* RAM until the OS driver retrieves it. Once * RAM until the OS driver retrieves it. Once
* retrieved, we are responsible for re-downloading * retrieved, we are responsible for re-downloading

@ -371,7 +371,7 @@ struct req_entry {
mpt_req_state_t state; /* Request State Information */ mpt_req_state_t state; /* Request State Information */
uint16_t index; /* Index of this entry */ uint16_t index; /* Index of this entry */
uint16_t IOCStatus; /* Completion status */ uint16_t IOCStatus; /* Completion status */
uint16_t ResponseCode; /* TMF Reponse Code */ uint16_t ResponseCode; /* TMF Response Code */
uint16_t serno; /* serial number */ uint16_t serno; /* serial number */
union ccb *ccb; /* CAM request */ union ccb *ccb; /* CAM request */
void *req_vbuf; /* Virtual Address of Entry */ void *req_vbuf; /* Virtual Address of Entry */
@ -714,7 +714,7 @@ struct mpt_softc {
*/ */
int pci_msi_count; int pci_msi_count;
struct resource * pci_irq; /* Interrupt map for chip */ 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 */ struct mpt_pci_cfg pci_cfg; /* saved PCI conf registers */
/* /*
@ -1052,7 +1052,7 @@ mpt_pop_reply_queue(struct mpt_softc *mpt)
void void
mpt_complete_request_chain(struct mpt_softc *, struct req_queue *, u_int); 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 */ /* MPT_RQSL- size of request frame, in bytes */
#define MPT_RQSL(mpt) (mpt->ioc_facts.RequestFrameSize << 2) #define MPT_RQSL(mpt) (mpt->ioc_facts.RequestFrameSize << 2)

@ -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[1] = htobe32((ox_id << 16) | rx_id);
elsbuf[2] = htobe32(0x000ffff); 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. * will be correct.
*/ */
rp->Rctl_Did += ((BA_ACC - ABTS) << MPI_FC_RCTL_SHIFT); rp->Rctl_Did += ((BA_ACC - ABTS) << MPI_FC_RCTL_SHIFT);
@ -3142,7 +3142,7 @@ XXXX
mpt_set_ccb_status(ccb, CAM_AUTOSENSE_FAIL); mpt_set_ccb_status(ccb, CAM_AUTOSENSE_FAIL);
} else if ((sstate & MPI_SCSI_STATE_RESPONSE_INFO_VALID) != 0) { } 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); mpt_set_ccb_status(ccb, CAM_REQ_CMP_ERR);
} else } else
mpt_set_ccb_status(ccb, CAM_REQ_CMP); mpt_set_ccb_status(ccb, CAM_REQ_CMP);

@ -119,15 +119,15 @@ static const struct Error_Map IOC_Status[] = {
{ MPI_IOCSTATUS_TARGET_NO_CONNECTION, "SCSI Target: No Connection" }, { MPI_IOCSTATUS_TARGET_NO_CONNECTION, "SCSI Target: No Connection" },
{ MPI_IOCSTATUS_TARGET_XFER_COUNT_MISMATCH,"SCSI Target: Transfer Count Mismatch" }, { MPI_IOCSTATUS_TARGET_XFER_COUNT_MISMATCH,"SCSI Target: Transfer Count Mismatch" },
{ MPI_IOCSTATUS_TARGET_FC_ABORTED, "FC: Aborted" }, { MPI_IOCSTATUS_TARGET_FC_ABORTED, "FC: Aborted" },
{ MPI_IOCSTATUS_TARGET_FC_RX_ID_INVALID, "FC: Recieve ID Invalid" }, { MPI_IOCSTATUS_TARGET_FC_RX_ID_INVALID, "FC: Receive ID Invalid" },
{ MPI_IOCSTATUS_TARGET_FC_DID_INVALID, "FC: Recieve DID Invalid" }, { MPI_IOCSTATUS_TARGET_FC_DID_INVALID, "FC: Receive DID Invalid" },
{ MPI_IOCSTATUS_TARGET_FC_NODE_LOGGED_OUT,"FC: Node Logged Out" }, { 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_NOT_FOUND, "LAN: Device Not Found" },
{ MPI_IOCSTATUS_LAN_DEVICE_FAILURE, "LAN: Device Not Failure" }, { MPI_IOCSTATUS_LAN_DEVICE_FAILURE, "LAN: Device Not Failure" },
{ MPI_IOCSTATUS_LAN_TRANSMIT_ERROR, "LAN: Transmit Error" }, { MPI_IOCSTATUS_LAN_TRANSMIT_ERROR, "LAN: Transmit Error" },
{ MPI_IOCSTATUS_LAN_TRANSMIT_ABORTED, "LAN: Transmit Aborted" }, { MPI_IOCSTATUS_LAN_TRANSMIT_ABORTED, "LAN: Transmit Aborted" },
{ MPI_IOCSTATUS_LAN_RECEIVE_ERROR, "LAN: Recieve Error" }, { MPI_IOCSTATUS_LAN_RECEIVE_ERROR, "LAN: Receive Error" },
{ MPI_IOCSTATUS_LAN_RECEIVE_ABORTED, "LAN: Recieve Aborted" }, { MPI_IOCSTATUS_LAN_RECEIVE_ABORTED, "LAN: Receive Aborted" },
{ MPI_IOCSTATUS_LAN_PARTIAL_PACKET, "LAN: Partial Packet" }, { MPI_IOCSTATUS_LAN_PARTIAL_PACKET, "LAN: Partial Packet" },
{ MPI_IOCSTATUS_LAN_CANCELED, "LAN: Canceled" }, { MPI_IOCSTATUS_LAN_CANCELED, "LAN: Canceled" },
{ -1, 0}, { -1, 0},

@ -783,7 +783,7 @@ mpt_dma_mem_alloc(struct mpt_softc *mpt)
return (1); 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, if (bus_dmamem_alloc(mpt->reply_dmat, (void **)&mpt->reply,
BUS_DMA_NOWAIT, &mpt->reply_dmap) != 0) { BUS_DMA_NOWAIT, &mpt->reply_dmap) != 0) {
mpt_prt(mpt, "cannot allocate %lu bytes of reply memory\n", mpt_prt(mpt, "cannot allocate %lu bytes of reply memory\n",