aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/include/defs/bfa_defs_pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bfa/include/defs/bfa_defs_pci.h')
-rw-r--r--drivers/scsi/bfa/include/defs/bfa_defs_pci.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/include/defs/bfa_defs_pci.h b/drivers/scsi/bfa/include/defs/bfa_defs_pci.h
index c9b83321694b..ea7d89bbc0bb 100644
--- a/drivers/scsi/bfa/include/defs/bfa_defs_pci.h
+++ b/drivers/scsi/bfa/include/defs/bfa_defs_pci.h
@@ -26,8 +26,13 @@ enum {
26 BFA_PCI_DEVICE_ID_FC_8G2P = 0x13, 26 BFA_PCI_DEVICE_ID_FC_8G2P = 0x13,
27 BFA_PCI_DEVICE_ID_FC_8G1P = 0x17, 27 BFA_PCI_DEVICE_ID_FC_8G1P = 0x17,
28 BFA_PCI_DEVICE_ID_CT = 0x14, 28 BFA_PCI_DEVICE_ID_CT = 0x14,
29 BFA_PCI_DEVICE_ID_CT_FC = 0x21,
29}; 30};
30 31
32#define bfa_asic_id_ct(devid) \
33 ((devid) == BFA_PCI_DEVICE_ID_CT || \
34 (devid) == BFA_PCI_DEVICE_ID_CT_FC)
35
31/** 36/**
32 * PCI sub-system device and vendor ID information 37 * PCI sub-system device and vendor ID information
33 */ 38 */
@@ -35,7 +40,9 @@ enum {
35 BFA_PCI_FCOE_SSDEVICE_ID = 0x14, 40 BFA_PCI_FCOE_SSDEVICE_ID = 0x14,
36}; 41};
37 42
38#define BFA_PCI_ACCESS_RANGES 1 /* Maximum number of device address ranges 43/**
39 * mapped through different BAR(s). */ 44 * Maximum number of device address ranges mapped through different BAR(s)
45 */
46#define BFA_PCI_ACCESS_RANGES 1
40 47
41#endif /* __BFA_DEFS_PCI_H__ */ 48#endif /* __BFA_DEFS_PCI_H__ */