Go to the documentation of this file.
19 #ifndef __BFA_DEFS_H__
20 #define __BFA_DEFS_H__
26 #define BFA_STRING_32 32
27 #define BFA_VERSION_LEN 64
180 #define BFA_MFG_CHKSUM_SIZE 16
182 #define BFA_MFG_PARTNUM_SIZE 14
183 #define BFA_MFG_SUPPLIER_ID_SIZE 10
184 #define BFA_MFG_SUPPLIER_PARTNUM_SIZE 20
185 #define BFA_MFG_SUPPLIER_SERIALNUM_SIZE 20
186 #define BFA_MFG_SUPPLIER_REVISION_SIZE 4
241 #define bfa_asic_id_ct(device) \
242 ((device) == PCI_DEVICE_ID_BROCADE_CT || \
243 (device) == PCI_DEVICE_ID_BROCADE_CT_FC)
244 #define bfa_asic_id_ct2(device) \
245 ((device) == BFA_PCI_DEVICE_ID_CT2)
246 #define bfa_asic_id_ctc(device) \
247 (bfa_asic_id_ct(device) || bfa_asic_id_ct2(device))
266 #define BFA_FLASH_PART_ENTRY_SIZE 32
267 #define BFA_FLASH_PART_MAX 32
268 #define BFA_TOTAL_FLASH_SIZE 0x400000
269 #define BFA_FLASH_PART_FWIMG 2
270 #define BFA_FLASH_PART_MFG 7