bnx2x, cnic: support DRV_INFO upon FW request
authorBarak Witkowski <barak@broadcom.com>
Mon, 5 Dec 2011 22:41:50 +0000 (22:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 18:06:05 +0000 (13:06 -0500)
commit1d187b34daaecbb87aa523ba46b92930a388cb21
tree651f9ee19867afe241109549aca3abe24101d9fd
parented5162a04f929f6298b6a3b6d7644ecae1933085
bnx2x, cnic: support DRV_INFO upon FW request

Add support to send driver capabilities, settings and statistics to
management firmware.

[ Redone using many local variables, removed many unnecessary inlines,
  and put #defines at the left margin suggested by Joe Perches ]

Signed-off-by: Barak Witkowski <barak@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/broadcom/cnic_if.h