cnic: Support NIC Partition mode
authorMichael Chan <mchan@broadcom.com>
Thu, 23 Dec 2010 07:43:01 +0000 (07:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Dec 2010 19:44:31 +0000 (11:44 -0800)
commit4aacb7afb6afd78efe26427e74fa56a5fc72fad3
treed7c73eb50096f589921696699950e7e9e7176ac8
parent5159fdc1e6cb4000f482faebeeba0be91611276d
cnic: Support NIC Partition mode

Add a common function cnic_read_bnx2x_iscsi_mac() to read the iSCSI
MAC address at any specified shared memory location.  In NIC Partition
mode, we need to get the MAC address from the MF_CFG area of shared
memory.

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