summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
diff options
context:
space:
mode:
authorDmitry Kravkov2012-03-18 11:33:43 +0100
committerDavid S. Miller2012-03-19 21:53:07 +0100
commit9e62e912e56742af7eb7e0eeba3c7af4bb2f8537 (patch)
treead3f5843da71faccdf633dc8011e7dc647593da8 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
parentbnx2x: added TLV_NOT_FOUND flags to the dcb (diff)
downloadkernel-qcow2-linux-9e62e912e56742af7eb7e0eeba3c7af4bb2f8537.tar.gz
kernel-qcow2-linux-9e62e912e56742af7eb7e0eeba3c7af4bb2f8537.tar.xz
kernel-qcow2-linux-9e62e912e56742af7eb7e0eeba3c7af4bb2f8537.zip
bnx2x: changed iscsi/fcoe mac init and macros
This includes changes in macros to better distinguish between the two protocols, and slightly changed the way their macs are set. Notice this file contains string print lines with more than 80 characters, as to not break prints. Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
index 04d78c02c8cc..8b163388659a 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
@@ -1664,7 +1664,7 @@ static inline bool bnx2x_is_valid_ether_addr(struct bnx2x *bp, u8 *addr)
if (is_valid_ether_addr(addr))
return true;
#ifdef BCM_CNIC
- if (is_zero_ether_addr(addr) && IS_MF_ISCSI_SD(bp))
+ if (is_zero_ether_addr(addr) && IS_MF_STORAGE_SD(bp))
return true;
#endif
return false;