aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2008-08-13 18:59:08 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-13 19:05:37 -0400
commit3347162995d23bc13f6f99c02ae89814babcaec2 (patch)
tree7354014426b77c424634355f63a2c4a8bfa31724 /drivers/net/bnx2x.h
parent3196a88a8593748bad24824ef5eb8e5aa99698c9 (diff)
bnx2x: Spelling mistakes
Spelling mistakes Spelling has to L's in it... Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 80f5179d636c..33437e5bcec3 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -155,7 +155,7 @@ struct sw_rx_page {
155#define NUM_RX_SGE_PAGES 2 155#define NUM_RX_SGE_PAGES 2
156#define RX_SGE_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_sge)) 156#define RX_SGE_CNT (BCM_PAGE_SIZE / sizeof(struct eth_rx_sge))
157#define MAX_RX_SGE_CNT (RX_SGE_CNT - 2) 157#define MAX_RX_SGE_CNT (RX_SGE_CNT - 2)
158/* RX_SGE_CNT is promissed to be a power of 2 */ 158/* RX_SGE_CNT is promised to be a power of 2 */
159#define RX_SGE_MASK (RX_SGE_CNT - 1) 159#define RX_SGE_MASK (RX_SGE_CNT - 1)
160#define NUM_RX_SGE (RX_SGE_CNT * NUM_RX_SGE_PAGES) 160#define NUM_RX_SGE (RX_SGE_CNT * NUM_RX_SGE_PAGES)
161#define MAX_RX_SGE (NUM_RX_SGE - 1) 161#define MAX_RX_SGE (NUM_RX_SGE - 1)
@@ -317,7 +317,7 @@ struct bnx2x_fastpath {
317#define RCQ_BD(x) ((x) & MAX_RCQ_BD) 317#define RCQ_BD(x) ((x) & MAX_RCQ_BD)
318 318
319 319
320/* This is needed for determening of last_max */ 320/* This is needed for determining of last_max */
321#define SUB_S16(a, b) (s16)((s16)(a) - (s16)(b)) 321#define SUB_S16(a, b) (s16)((s16)(a) - (s16)(b))
322 322
323#define __SGE_MASK_SET_BIT(el, bit) \ 323#define __SGE_MASK_SET_BIT(el, bit) \
@@ -784,7 +784,7 @@ struct bnx2x {
784 u8 stats_pending; 784 u8 stats_pending;
785 u8 set_mac_pending; 785 u8 set_mac_pending;
786 786
787 /* End of fileds used in the performance code paths */ 787 /* End of fields used in the performance code paths */
788 788
789 int panic; 789 int panic;
790 int msglevel; 790 int msglevel;
@@ -1024,10 +1024,10 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
1024/* resolution of the rate shaping timer - 100 usec */ 1024/* resolution of the rate shaping timer - 100 usec */
1025#define RS_PERIODIC_TIMEOUT_USEC 100 1025#define RS_PERIODIC_TIMEOUT_USEC 100
1026/* resolution of fairness algorithm in usecs - 1026/* resolution of fairness algorithm in usecs -
1027 coefficient for clauclating the actuall t fair */ 1027 coefficient for calculating the actual t fair */
1028#define T_FAIR_COEF 10000000 1028#define T_FAIR_COEF 10000000
1029/* number of bytes in single QM arbitration cycle - 1029/* number of bytes in single QM arbitration cycle -
1030 coeffiecnt for calculating the fairness timer */ 1030 coefficient for calculating the fairness timer */
1031#define QM_ARB_BYTES 40000 1031#define QM_ARB_BYTES 40000
1032#define FAIR_MEM 2 1032#define FAIR_MEM 2
1033 1033