[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)
commite78d5b8f1e73ab82f3fd041d05824cfee7d83a2c
treebd51c151a123789fb24dde00052ab1fd09e1aadb
parent2f7ecc55b37ef9f0208360e64d8b9d2313df8ce6
[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