diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-17 18:08:44 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-18 11:07:46 -0600 |
commit | 99369065970e9ea7d1ca489341ed29d1a72ec0b5 (patch) | |
tree | 92c10c2010e30fa381f87f7743d87d3e65611958 /drivers/scsi/megaraid/megaraid_sas.h | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff) | |
download | talos-op-linux-99369065970e9ea7d1ca489341ed29d1a72ec0b5.tar.gz talos-op-linux-99369065970e9ea7d1ca489341ed29d1a72ec0b5.zip |
[SCSI] megaraid_sas: Use correct #define for MSI-X capability
Previously we used PCI_MSI_FLAGS to locate a register in the MSI-X
capability. This did work because the MSI and MSI-X flags happen
to be at the same offsets, but was confusing.
PCI_MSIX_FLAGS_ENABLE is already defined in include/uapi/linux/pci_regs.h,
so no need to define it again.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Adam Radford <aradford@gmail.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.h')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index 408d2548a748..684cc343cf09 100644 --- a/drivers/scsi/megaraid/megaraid_sas.h +++ b/drivers/scsi/megaraid/megaraid_sas.h @@ -1488,7 +1488,4 @@ 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 */ |