cnic: Eliminate CNIC_PORT macro and port_mode in local struct.
authorMichael Chan <mchan@broadcom.com>
Mon, 2 Sep 2013 18:42:30 +0000 (11:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 04:27:26 +0000 (00:27 -0400)
commit5bf945a874d13e4e44c61afaeb7714d07fa7baca
treec2a04c36ce8cbd8460277bb92ffede024d9ad279
parent5e65789f694f2977fb7169c500b4997772f5278b
cnic: Eliminate CNIC_PORT macro and port_mode in local struct.

Use BP_PORT and chip_port_mode directly from bnx2x.h to avoid duplication.

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