aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptbase.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/fusion/mptbase.c')
-rw-r--r--drivers/message/fusion/mptbase.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index 284202766804..35444ba4e78a 100644
--- a/drivers/message/fusion/mptbase.c
+++ b/drivers/message/fusion/mptbase.c
@@ -2185,7 +2185,7 @@ GetIocFacts(MPT_ADAPTER *ioc, int sleepFlag, int reason)
2185 facts->IOCExceptions = le16_to_cpu(facts->IOCExceptions); 2185 facts->IOCExceptions = le16_to_cpu(facts->IOCExceptions);
2186 facts->IOCStatus = le16_to_cpu(facts->IOCStatus); 2186 facts->IOCStatus = le16_to_cpu(facts->IOCStatus);
2187 facts->IOCLogInfo = le32_to_cpu(facts->IOCLogInfo); 2187 facts->IOCLogInfo = le32_to_cpu(facts->IOCLogInfo);
2188 status = facts->IOCStatus & MPI_IOCSTATUS_MASK; 2188 status = le16_to_cpu(facts->IOCStatus) & MPI_IOCSTATUS_MASK;
2189 /* CHECKME! IOCStatus, IOCLogInfo */ 2189 /* CHECKME! IOCStatus, IOCLogInfo */
2190 2190
2191 facts->ReplyQueueDepth = le16_to_cpu(facts->ReplyQueueDepth); 2191 facts->ReplyQueueDepth = le16_to_cpu(facts->ReplyQueueDepth);
@@ -4823,8 +4823,8 @@ mpt_toolbox(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg)
4823 pReq->Reserved3 = 0; 4823 pReq->Reserved3 = 0;
4824 pReq->NumAddressBytes = 0x01; 4824 pReq->NumAddressBytes = 0x01;
4825 pReq->Reserved4 = 0; 4825 pReq->Reserved4 = 0;
4826 pReq->DataLength = 0x04; 4826 pReq->DataLength = cpu_to_le16(0x04);
4827 pdev = (struct pci_dev *) ioc->pcidev; 4827 pdev = ioc->pcidev;
4828 if (pdev->devfn & 1) 4828 if (pdev->devfn & 1)
4829 pReq->DeviceAddr = 0xB2; 4829 pReq->DeviceAddr = 0xB2;
4830 else 4830 else