bnx2x: Fix stop-on-error
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Mon, 25 Aug 2014 14:48:30 +0000 (17:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Aug 2014 00:30:21 +0000 (17:30 -0700)
commitea36475a22ded71633331a0b9b3cddd7f1d6983a
tree4792838f4826dcd18166693e2bc6f80599aa7df4
parentb3befae1d6cd4c4e15f1ecb6fe3e2bab94675d37
bnx2x: Fix stop-on-error

When STOP_ON_ERROR is set driver will not compile. Even if it did,
traffic will not pass without this patch as several fields which are
verified by FW/HW on the Tx path are not properly set.

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c