cnic: Fix parity error code conflict
authorMichael Chan <mchan@broadcom.com>
Wed, 21 Mar 2012 15:38:34 +0000 (15:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2012 01:57:36 +0000 (21:57 -0400)
commit8ec3e70207486bbd3e2d3c0d6b809116ccd4f219
treebda290a8c461fe639fe99a7210e75615c1bef03d
parent7ae5289017e5ed5514b2603d157fb54c058a3c82
cnic: Fix parity error code conflict

The recently added parity error handling used an error code that was
already defined for a different error.  This could lead to bnx2x
firmware assert.  We need to fix this with new error codes that are
defined for parity error only.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/broadcom/cnic_defs.h
drivers/net/ethernet/broadcom/cnic_if.h
drivers/scsi/bnx2fc/bnx2fc_constants.h
drivers/scsi/bnx2i/57xx_iscsi_constants.h