diff options
author | adam radford <aradford@gmail.com> | 2010-12-14 18:56:07 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-22 23:26:52 -0600 |
commit | b6d5d8808b4c563a56414a4c4c6d652b5f87c088 (patch) | |
tree | 4e4580fd9cc216fffea4f03e7b71b5a9972f869b /drivers/scsi/megaraid/megaraid_sas.h | |
parent | 80d9da98b4034edd31f6bacdb96c7489c4460173 (diff) | |
download | linux-b6d5d8808b4c563a56414a4c4c6d652b5f87c088.tar.gz linux-b6d5d8808b4c563a56414a4c4c6d652b5f87c088.tar.bz2 linux-b6d5d8808b4c563a56414a4c4c6d652b5f87c088.zip |
[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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index ff9845c72a67..0e09a0ff479d 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 { |