aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_init.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2008-06-23 23:33:01 -0400
committerDavid S. Miller <davem@davemloft.net>2008-06-23 23:33:01 -0400
commit34f80b04f325078ff21123579343d99756ad8d0e (patch)
treeb24ef6256970da8cfad6124dc698a9e351d46eb1 /drivers/net/bnx2x_init.h
parente523287e8edad79b4e5753f98dcf8f75cabd3963 (diff)
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>
Diffstat (limited to 'drivers/net/bnx2x_init.h')
-rw-r--r--drivers/net/bnx2x_init.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h
index 5a4e82b9e7bf..4c7750789b62 100644
--- a/drivers/net/bnx2x_init.h
+++ b/drivers/net/bnx2x_init.h
@@ -226,28 +226,28 @@ static const u32 *bnx2x_sel_blob(u32 addr, const u32 *data, int is_e1)
226 tsem_int_table_data_e1h; 226 tsem_int_table_data_e1h;
227 else 227 else
228 IF_IS_INT_TABLE_ADDR(CSEM_REG_INT_TABLE, addr) 228 IF_IS_INT_TABLE_ADDR(CSEM_REG_INT_TABLE, addr)
229 data = is_e1 ? csem_int_table_data_e1 : 229 data = is_e1 ? csem_int_table_data_e1 :
230 csem_int_table_data_e1h; 230 csem_int_table_data_e1h;
231 else 231 else
232 IF_IS_INT_TABLE_ADDR(USEM_REG_INT_TABLE, addr) 232 IF_IS_INT_TABLE_ADDR(USEM_REG_INT_TABLE, addr)
233 data = is_e1 ? usem_int_table_data_e1 : 233 data = is_e1 ? usem_int_table_data_e1 :
234 usem_int_table_data_e1h; 234 usem_int_table_data_e1h;
235 else 235 else
236 IF_IS_INT_TABLE_ADDR(XSEM_REG_INT_TABLE, addr) 236 IF_IS_INT_TABLE_ADDR(XSEM_REG_INT_TABLE, addr)
237 data = is_e1 ? xsem_int_table_data_e1 : 237 data = is_e1 ? xsem_int_table_data_e1 :
238 xsem_int_table_data_e1h; 238 xsem_int_table_data_e1h;
239 else 239 else
240 IF_IS_PRAM_ADDR(TSEM_REG_PRAM, addr) 240 IF_IS_PRAM_ADDR(TSEM_REG_PRAM, addr)
241 data = is_e1 ? tsem_pram_data_e1 : tsem_pram_data_e1h; 241 data = is_e1 ? tsem_pram_data_e1 : tsem_pram_data_e1h;
242 else 242 else
243 IF_IS_PRAM_ADDR(CSEM_REG_PRAM, addr) 243 IF_IS_PRAM_ADDR(CSEM_REG_PRAM, addr)
244 data = is_e1 ? csem_pram_data_e1 : csem_pram_data_e1h; 244 data = is_e1 ? csem_pram_data_e1 : csem_pram_data_e1h;
245 else 245 else
246 IF_IS_PRAM_ADDR(USEM_REG_PRAM, addr) 246 IF_IS_PRAM_ADDR(USEM_REG_PRAM, addr)
247 data = is_e1 ? usem_pram_data_e1 : usem_pram_data_e1h; 247 data = is_e1 ? usem_pram_data_e1 : usem_pram_data_e1h;
248 else 248 else
249 IF_IS_PRAM_ADDR(XSEM_REG_PRAM, addr) 249 IF_IS_PRAM_ADDR(XSEM_REG_PRAM, addr)
250 data = is_e1 ? xsem_pram_data_e1 : xsem_pram_data_e1h; 250 data = is_e1 ? xsem_pram_data_e1 : xsem_pram_data_e1h;
251 251
252 return data; 252 return data;
253} 253}