• Eilon Greenstein's avatar
    bnx2x: New init infrastructure · ad8d3948
    Eilon Greenstein authored
    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: default avatarEilon Greenstein <eilong@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ad8d3948
bnx2x_main.c 200 KB