kernel-ark/drivers/message/fusion
Anatolij Gustschin f1053a7ca9 [SCSI] mptsas: Fix issue with chain pools allocation on katmai
Since commit 9d2e9d66a3
mptsas driver fails to allocate memory for the MPT chain buffers
for second LSI adapter on PPC440SPe Katmai platform:
...
ioc1: LSISAS1068E B3: Capabilities={Initiator}
mptbase: ioc1: ERROR - Unable to allocate Reply, Request, Chain Buffers!
mptbase: ioc1: ERROR - didn't initialize properly! (-3)
mptsas: probe of 0002:31:00.0 failed with error -3

This commit increased MPT_FC_CAN_QUEUE value but initChainBuffers()
doesn't differentiate between SAS and FC causing increased allocation
for SAS case, too. Later pci_alloc_consistent() fails to allocate
increased chain buffer pool size for SAS case.

Provide a fix by looking at the bus type and using appropriate
MPT_SAS_CAN_QUEUE value while calculation of the number of chain
buffers.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Kashyap Desai <kashyap.desai@lsi.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-01-17 12:16:17 -06:00
..
lsi trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00
Kconfig
Makefile
mptbase.c [SCSI] mptsas: Fix issue with chain pools allocation on katmai 2010-01-17 12:16:17 -06:00
mptbase.h [SCSI] mptfusion: Bump version to 3.04.13 2009-10-29 13:03:25 -04:00
mptctl.c [SCSI] mptctl : Remove printk which floods unnecessary messages to var/log/message 2009-10-29 13:03:23 -04:00
mptctl.h
mptdebug.h [SCSI] mpt fusion: Fixing 1078 data corruption issue for 36GB memory region 2009-06-09 17:21:31 -05:00
mptfc.c [SCSI] mptsas : Removed mptscsih_timer_expired. 2009-08-22 17:52:24 -05:00
mptlan.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
mptlan.h
mptsas.c [SCSI] mptsas : FW event thread and scsi mid layer deadlock in SYNCHRONIZE CACHE command 2009-09-12 09:35:28 -05:00
mptsas.h [SCSI] mpt fusion: Queue full event handling 2009-06-09 17:44:39 -05:00
mptscsih.c [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
mptscsih.h [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
mptspi.c [SCSI] mptsas : Removed mptscsih_timer_expired. 2009-08-22 17:52:24 -05:00