summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid/megaraid_sas.h
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2010-12-15 02:56:07 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2010-12-23 05:26:52 (GMT)
commitb6d5d8808b4c563a56414a4c4c6d652b5f87c088 (patch)
tree4e4580fd9cc216fffea4f03e7b71b5a9972f869b /drivers/scsi/megaraid/megaraid_sas.h
parent80d9da98b4034edd31f6bacdb96c7489c4460173 (diff)
downloadlinux-fsl-qoriq-b6d5d8808b4c563a56414a4c4c6d652b5f87c088.tar.xz
[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>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h
index ff9845c..0e09a0f 100644
--- a/drivers/scsi/megaraid/megaraid_sas.h
+++ b/drivers/scsi/megaraid/megaraid_sas.h
@@ -1338,6 +1338,7 @@ struct megasas_instance {
u8 msi_flag;
struct msix_entry msixentry;
+ unsigned long bar;
};
enum {