[SCSI] megaraid_sas: Use lowest memory bar for SR-IOV VF support
authoradam radford <aradford@gmail.com>
Wed, 15 Dec 2010 02:56:07 +0000 (18:56 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 23 Dec 2010 05:26:52 +0000 (23:26 -0600)
commitb6d5d8808b4c563a56414a4c4c6d652b5f87c088
tree4e4580fd9cc216fffea4f03e7b71b5a9972f869b
parent80d9da98b4034edd31f6bacdb96c7489c4460173
[SCSI] megaraid_sas: Use lowest memory bar for SR-IOV VF support

The following patch modifies the megaraid_sas driver to select the
lowest memory bar available so the driver will work in SR-IOV VF
environments where the memory bar mapping changes.

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas.h
drivers/scsi/megaraid/megaraid_sas_base.c