diff options
author | adam radford <aradford@gmail.com> | 2011-02-25 05:56:28 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-28 18:47:48 +0100 |
commit | 66192dfe1e74eae31a76cfc36092dabdba1324e6 (patch) | |
tree | 50d23dfbb7fb154c43ccf9eb28ec5e4d8e984ae2 /drivers/scsi/megaraid/megaraid_sas.h | |
parent | [SCSI] megaraid_sas: Call tasklet_schedule for MSI-X (diff) | |
download | linux-66192dfe1e74eae31a76cfc36092dabdba1324e6.tar.xz linux-66192dfe1e74eae31a76cfc36092dabdba1324e6.zip |
[SCSI] megaraid_sas: Fix probe_one to clear MSI-X flags in kdump
The following patch for megaraid_sas fixes megasas_probe_one() to
clear MSI-X flags in kdump when the 'reset_devices' kernel parameter
is passed in.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index 1b5e375732c0..e00ee4afdbc7 100644 --- a/drivers/scsi/megaraid/megaraid_sas.h +++ b/drivers/scsi/megaraid/megaraid_sas.h @@ -1477,4 +1477,7 @@ struct megasas_mgmt_info { int max_index; }; +#define msi_control_reg(base) (base + PCI_MSI_FLAGS) +#define PCI_MSIX_FLAGS_ENABLE (1 << 15) + #endif /*LSI_MEGARAID_SAS_H */ |