diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2015-07-22 09:16:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-22 10:47:26 -0700 |
commit | 230d00eb4bfe0ddc88b848fd953f7b871ee2ecd7 (patch) | |
tree | d0553c6ddb9a702ebad1ab5e0d06b1c3cf0f4d45 /drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |
parent | 924c6216f88172050a519639722e949b838529cc (diff) | |
download | op-kernel-dev-230d00eb4bfe0ddc88b848fd953f7b871ee2ecd7.zip op-kernel-dev-230d00eb4bfe0ddc88b848fd953f7b871ee2ecd7.tar.gz |
bnx2x: new Multi-function mode - BD
This adds support to a new multi-function mode, enabling driver to
initialize such devices and correctly interacting with management FW
for fully utilizing their features.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h index a59f0b9..ecf1d7f 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h @@ -1424,6 +1424,7 @@ enum { SUB_MF_MODE_UNKNOWN = 0, SUB_MF_MODE_UFP, SUB_MF_MODE_NPAR1_DOT_5, + SUB_MF_MODE_BD, }; struct bnx2x { @@ -1638,6 +1639,8 @@ struct bnx2x { u8 mf_sub_mode; #define IS_MF_UFP(bp) (IS_MF_SD(bp) && \ bp->mf_sub_mode == SUB_MF_MODE_UFP) +#define IS_MF_BD(bp) (IS_MF_SD(bp) && \ + bp->mf_sub_mode == SUB_MF_MODE_BD) u8 wol; |