bnx2x: Add support for BCM57711 HW
Supporting the 57711 and 57711E - refers to in the code as E1H. The 57710 is referred to as E1. To support the new members in the family, the bnx2x structure was divided to 3 parts: common, port and function. These changes caused some rearrangement in the bnx2x.h file. A set of accessories macros were added to make access to the bnx2x structure more readable Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
e523287e8e
commit
34f80b04f3
@ -226,28 +226,28 @@ static const u32 *bnx2x_sel_blob(u32 addr, const u32 *data, int is_e1)
|
||||
tsem_int_table_data_e1h;
|
||||
else
|
||||
IF_IS_INT_TABLE_ADDR(CSEM_REG_INT_TABLE, addr)
|
||||
data = is_e1 ? csem_int_table_data_e1 :
|
||||
csem_int_table_data_e1h;
|
||||
data = is_e1 ? csem_int_table_data_e1 :
|
||||
csem_int_table_data_e1h;
|
||||
else
|
||||
IF_IS_INT_TABLE_ADDR(USEM_REG_INT_TABLE, addr)
|
||||
data = is_e1 ? usem_int_table_data_e1 :
|
||||
usem_int_table_data_e1h;
|
||||
data = is_e1 ? usem_int_table_data_e1 :
|
||||
usem_int_table_data_e1h;
|
||||
else
|
||||
IF_IS_INT_TABLE_ADDR(XSEM_REG_INT_TABLE, addr)
|
||||
data = is_e1 ? xsem_int_table_data_e1 :
|
||||
xsem_int_table_data_e1h;
|
||||
data = is_e1 ? xsem_int_table_data_e1 :
|
||||
xsem_int_table_data_e1h;
|
||||
else
|
||||
IF_IS_PRAM_ADDR(TSEM_REG_PRAM, addr)
|
||||
data = is_e1 ? tsem_pram_data_e1 : tsem_pram_data_e1h;
|
||||
data = is_e1 ? tsem_pram_data_e1 : tsem_pram_data_e1h;
|
||||
else
|
||||
IF_IS_PRAM_ADDR(CSEM_REG_PRAM, addr)
|
||||
data = is_e1 ? csem_pram_data_e1 : csem_pram_data_e1h;
|
||||
data = is_e1 ? csem_pram_data_e1 : csem_pram_data_e1h;
|
||||
else
|
||||
IF_IS_PRAM_ADDR(USEM_REG_PRAM, addr)
|
||||
data = is_e1 ? usem_pram_data_e1 : usem_pram_data_e1h;
|
||||
data = is_e1 ? usem_pram_data_e1 : usem_pram_data_e1h;
|
||||
else
|
||||
IF_IS_PRAM_ADDR(XSEM_REG_PRAM, addr)
|
||||
data = is_e1 ? xsem_pram_data_e1 : xsem_pram_data_e1h;
|
||||
data = is_e1 ? xsem_pram_data_e1 : xsem_pram_data_e1h;
|
||||
|
||||
return data;
|
||||
}
|
||||
|
Reference in New Issue
Block a user