]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1f6096fee3b23f7bbce3b3a1fb51838188f70395
treebe2d1c7fc15fc6e1bd17a7d87c697254407fa865
parentf357a32d18b17c2ebe0dec376ff193bffa4136d0
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