]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d56f134f432985cbe08da9bba5f4b231ad2a6a1
treec2a04c36ce8cbd8460277bb92ffede024d9ad279
parentce6582dc41a5f7c4aaf1e30e9bb0fabfeaf9a98b
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