]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/bnx2x/bnx2x.h
bnx2x: New init infrastructure
authorEilon Greenstein <eilong@broadcom.com>
Tue, 24 Jun 2008 03:29:02 +0000 (20:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jun 2008 03:29:02 +0000 (20:29 -0700)
commitad8d394804b355bc623decc50748cd01dbc0783b
treebe2d1c7fc15fc6e1bd17a7d87c697254407fa865
parentc18487ee24381b40df3b8b4f54dd13ee9367a1ce
bnx2x: New init infrastructure

This new initialization code supports the 57711 HW. It also supports
the emulation and FPGA for the 57711 and 57710 initializations values
(very small amount of code which is very helpful in the lab - less
than 30 lines).

The initialization is done via DMAE after the DMAE block is ready -
before it is ready, some of the initialization is done via PCI
configuration transactions (referred to as indirect write).  A mutex
to protect the DMAE from being overlapped was added.  There are few
new registers which needs to be initialized by SW - the full comment
for those registers is added to the register file.  A place holder for
the 57711 (referred to as E1H) microcode was added- the microcode
itself is too big and it is split over the following 4 patches

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x.h
drivers/net/bnx2x_hsi.h
drivers/net/bnx2x_init.h
drivers/net/bnx2x_init_values.h
drivers/net/bnx2x_main.c