bnx2x: disable dcb on 578xx since not supported yet
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 9 Aug 2011 03:11:13 +0000 (03:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Aug 2011 14:14:53 +0000 (07:14 -0700)
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_dcb.c

index a4ea35f..a1e004a 100644 (file)
@@ -920,7 +920,7 @@ static void bnx2x_dcbx_admin_mib_updated_params(struct bnx2x *bp,
 
 void bnx2x_dcbx_set_state(struct bnx2x *bp, bool dcb_on, u32 dcbx_enabled)
 {
-       if (!CHIP_IS_E1x(bp)) {
+       if (!CHIP_IS_E1x(bp) && !CHIP_IS_E3(bp)) {
                bp->dcb_state = dcb_on;
                bp->dcbx_enabled = dcbx_enabled;
        } else {