aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_fw_defs.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 03:38:30 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-16 02:31:57 -0500
commitf53722514242da8346cbed2223bcea9eed744ebd (patch)
treefd2e9b7842c29427b57ba5266d63b3cf8386c197 /drivers/net/bnx2x_fw_defs.h
parent9898f86d3927bf3526aef433c8ced0b51178c35c (diff)
bnx2x: Comments and prints
Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_fw_defs.h')
-rw-r--r--drivers/net/bnx2x_fw_defs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/bnx2x_fw_defs.h b/drivers/net/bnx2x_fw_defs.h
index f6dacb03bdd6..0683e542e942 100644
--- a/drivers/net/bnx2x_fw_defs.h
+++ b/drivers/net/bnx2x_fw_defs.h
@@ -194,7 +194,7 @@
194#define COMMON_ASM_INVALID_ASSERT_OPCODE 0x0 194#define COMMON_ASM_INVALID_ASSERT_OPCODE 0x0
195 195
196/** 196/**
197* This file defines HSI constatnts for the ETH flow 197* This file defines HSI constants for the ETH flow
198*/ 198*/
199#ifdef _EVEREST_MICROCODE 199#ifdef _EVEREST_MICROCODE
200#include "microcode_constants.h" 200#include "microcode_constants.h"
@@ -212,7 +212,8 @@
212#define IPV6_HASH_TYPE 3 212#define IPV6_HASH_TYPE 3
213#define TCP_IPV6_HASH_TYPE 4 213#define TCP_IPV6_HASH_TYPE 4
214 214
215/* Ethernet Ring parmaters */ 215
216/* Ethernet Ring parameters */
216#define X_ETH_LOCAL_RING_SIZE 13 217#define X_ETH_LOCAL_RING_SIZE 13
217#define FIRST_BD_IN_PKT 0 218#define FIRST_BD_IN_PKT 0
218#define PARSE_BD_INDEX 1 219#define PARSE_BD_INDEX 1
@@ -279,7 +280,7 @@
279 280
280 281
281/** 282/**
282* This file defines HSI constatnts common to all microcode flows 283* This file defines HSI constants common to all microcode flows
283*/ 284*/
284 285
285/* Connection types */ 286/* Connection types */
@@ -313,7 +314,7 @@
313#define HC_USTORM_SB_NUM_INDICES 4 314#define HC_USTORM_SB_NUM_INDICES 4
314#define HC_CSTORM_SB_NUM_INDICES 4 315#define HC_CSTORM_SB_NUM_INDICES 4
315 316
316/* index values - which counterto update */ 317/* index values - which counter to update */
317 318
318#define HC_INDEX_U_TOE_RX_CQ_CONS 0 319#define HC_INDEX_U_TOE_RX_CQ_CONS 0
319#define HC_INDEX_U_ETH_RX_CQ_CONS 1 320#define HC_INDEX_U_ETH_RX_CQ_CONS 1