]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt fusion: Request I/O resources only when required
authorPrakash, Sathya <sathya.prakash@lsi.com>
Fri, 8 Feb 2008 16:35:35 +0000 (22:05 +0530)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 11 Feb 2008 16:20:54 +0000 (10:20 -0600)
commit47efd6ca18ea0e8c6e3dc6080b172820530ed33e
treebd51c151a123789fb24dde00052ab1fd09e1aadb
parent1d173feddbeaf7186b3b8a3a7b32ba26fa90363c
[SCSI] mpt fusion: Request I/O resources only when required

This patch modifies the I/O resource allocation behavior of FUSION
driver.  The current version of driver allocates the I/O resources
even if they are not required and this creates trouble in low resource
environments.  This driver now uses
pci_enable_device_mem/pci_enable_device functions to differentiate the
resource allocations.

Signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/message/fusion/mptbase.c
drivers/message/fusion/mptbase.h