cnic: Use CHIP_NUM macros from bnx2x.h
authorMichael Chan <mchan@broadcom.com>
Mon, 2 Sep 2013 18:42:28 +0000 (11:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 04:27:26 +0000 (00:27 -0400)
commit104a43edb264321a4d41850e98153b4fa8a9ef42
treeb88e18ea13904c7fe1defe227c9259a633114d75
parent82476b316084e6826a9dd339d1dad892a598af9a
cnic: Use CHIP_NUM macros from bnx2x.h

This eliminates duplication and ensures that all bnx2x chips will be
supported.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/broadcom/cnic.h