diff options
Diffstat (limited to 'drivers/net/bna/bfa_defs_mfg_comm.h')
-rw-r--r-- | drivers/net/bna/bfa_defs_mfg_comm.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/net/bna/bfa_defs_mfg_comm.h b/drivers/net/bna/bfa_defs_mfg_comm.h index 987978fcb3fe..fdd677618361 100644 --- a/drivers/net/bna/bfa_defs_mfg_comm.h +++ b/drivers/net/bna/bfa_defs_mfg_comm.h | |||
@@ -95,28 +95,6 @@ enum { | |||
95 | (type) == BFA_MFG_TYPE_CNA10P1 || \ | 95 | (type) == BFA_MFG_TYPE_CNA10P1 || \ |
96 | bfa_mfg_is_mezz(type))) | 96 | bfa_mfg_is_mezz(type))) |
97 | 97 | ||
98 | /** | ||
99 | * Check if the card having old wwn/mac handling | ||
100 | */ | ||
101 | #define bfa_mfg_is_old_wwn_mac_model(type) (( \ | ||
102 | (type) == BFA_MFG_TYPE_FC8P2 || \ | ||
103 | (type) == BFA_MFG_TYPE_FC8P1 || \ | ||
104 | (type) == BFA_MFG_TYPE_FC4P2 || \ | ||
105 | (type) == BFA_MFG_TYPE_FC4P1 || \ | ||
106 | (type) == BFA_MFG_TYPE_CNA10P2 || \ | ||
107 | (type) == BFA_MFG_TYPE_CNA10P1 || \ | ||
108 | (type) == BFA_MFG_TYPE_JAYHAWK || \ | ||
109 | (type) == BFA_MFG_TYPE_WANCHESE)) | ||
110 | |||
111 | #define bfa_mfg_increment_wwn_mac(m, i) \ | ||
112 | do { \ | ||
113 | u32 t = ((m)[0] << 16) | ((m)[1] << 8) | (m)[2]; \ | ||
114 | t += (i); \ | ||
115 | (m)[0] = (t >> 16) & 0xFF; \ | ||
116 | (m)[1] = (t >> 8) & 0xFF; \ | ||
117 | (m)[2] = t & 0xFF; \ | ||
118 | } while (0) | ||
119 | |||
120 | #define bfa_mfg_adapter_prop_init_flash(card_type, prop) \ | 98 | #define bfa_mfg_adapter_prop_init_flash(card_type, prop) \ |
121 | do { \ | 99 | do { \ |
122 | switch ((card_type)) { \ | 100 | switch ((card_type)) { \ |