aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-22 15:55:29 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-22 15:55:29 -0400
commit424a6f6ef990b7e9f56f6627bfc6c46b493faeb4 (patch)
tree0028356ed8003495fbbe1f716f359e3c8ebc35b6 /drivers/scsi/mpt2sas
parent1ab142d499294b844ecc81e8004db4ce029b0b61 (diff)
parentcd8df932d894f3128c884e3ae1b2b484540513db (diff)
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
SCSI updates from James Bottomley: "The update includes the usual assortment of driver updates (lpfc, qla2xxx, qla4xxx, bfa, bnx2fc, bnx2i, isci, fcoe, hpsa) plus a huge amount of infrastructure work in the SAS library and transport class as well as an iSCSI update. There's also a new SCSI based virtio driver." * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (177 commits) [SCSI] qla4xxx: Update driver version to 5.02.00-k15 [SCSI] qla4xxx: trivial cleanup [SCSI] qla4xxx: Fix sparse warning [SCSI] qla4xxx: Add support for multiple session per host. [SCSI] qla4xxx: Export CHAP index as sysfs attribute [SCSI] scsi_transport: Export CHAP index as sysfs attribute [SCSI] qla4xxx: Add support to display CHAP list and delete CHAP entry [SCSI] iscsi_transport: Add support to display CHAP list and delete CHAP entry [SCSI] pm8001: fix endian issue with code optimization. [SCSI] pm8001: Fix possible racing condition. [SCSI] pm8001: Fix bogus interrupt state flag issue. [SCSI] ipr: update PCI ID definitions for new adapters [SCSI] qla2xxx: handle default case in qla2x00_request_firmware() [SCSI] isci: improvements in driver unloading routine [SCSI] isci: improve phy event warnings [SCSI] isci: debug, provide state-enum-to-string conversions [SCSI] scsi_transport_sas: 'enable' phys on reset [SCSI] libsas: don't recover end devices attached to disabled phys [SCSI] libsas: fixup target_port_protocols for expanders that don't report sata [SCSI] libsas: set attached device type and target protocols for local phys ...
Diffstat (limited to 'drivers/scsi/mpt2sas')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.c5
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_scsih.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
index a78036f5e1a6..82fa6ce481f0 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -2575,6 +2575,11 @@ _base_allocate_memory_pools(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
2575 2575
2576 ioc->chain_lookup = (struct chain_tracker *)__get_free_pages( 2576 ioc->chain_lookup = (struct chain_tracker *)__get_free_pages(
2577 GFP_KERNEL, ioc->chain_pages); 2577 GFP_KERNEL, ioc->chain_pages);
2578 if (!ioc->chain_lookup) {
2579 printk(MPT2SAS_ERR_FMT "chain_lookup: get_free_pages failed, "
2580 "sz(%d)\n", ioc->name, (int)sz);
2581 goto out;
2582 }
2578 ioc->chain_dma_pool = pci_pool_create("chain pool", ioc->pdev, 2583 ioc->chain_dma_pool = pci_pool_create("chain pool", ioc->pdev,
2579 ioc->request_sz, 16, 0); 2584 ioc->request_sz, 16, 0);
2580 if (!ioc->chain_dma_pool) { 2585 if (!ioc->chain_dma_pool) {
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index 193e33e28e49..d953a57e779d 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -5744,7 +5744,7 @@ _scsih_sas_enclosure_dev_status_change_event(struct MPT2SAS_ADAPTER *ioc,
5744} 5744}
5745 5745
5746/** 5746/**
5747 * _scsih_sas_broadcast_primative_event - handle broadcast events 5747 * _scsih_sas_broadcast_primitive_event - handle broadcast events
5748 * @ioc: per adapter object 5748 * @ioc: per adapter object
5749 * @fw_event: The fw_event_work object 5749 * @fw_event: The fw_event_work object
5750 * Context: user. 5750 * Context: user.
@@ -5752,7 +5752,7 @@ _scsih_sas_enclosure_dev_status_change_event(struct MPT2SAS_ADAPTER *ioc,
5752 * Return nothing. 5752 * Return nothing.
5753 */ 5753 */
5754static void 5754static void
5755_scsih_sas_broadcast_primative_event(struct MPT2SAS_ADAPTER *ioc, 5755_scsih_sas_broadcast_primitive_event(struct MPT2SAS_ADAPTER *ioc,
5756 struct fw_event_work *fw_event) 5756 struct fw_event_work *fw_event)
5757{ 5757{
5758 struct scsi_cmnd *scmd; 5758 struct scsi_cmnd *scmd;
@@ -7263,7 +7263,7 @@ _firmware_event_work(struct work_struct *work)
7263 fw_event); 7263 fw_event);
7264 break; 7264 break;
7265 case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE: 7265 case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE:
7266 _scsih_sas_broadcast_primative_event(ioc, 7266 _scsih_sas_broadcast_primitive_event(ioc,
7267 fw_event); 7267 fw_event);
7268 break; 7268 break;
7269 case MPI2_EVENT_SAS_ENCL_DEVICE_STATUS_CHANGE: 7269 case MPI2_EVENT_SAS_ENCL_DEVICE_STATUS_CHANGE: