aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_reg.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-08-12 08:24:29 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-12 23:03:01 -0700
commitab6ad5a4875e99dffe957a411fe890402a91f67f (patch)
tree26bb0b2a38808f099c0719d5e54ceb3ccc835fa9 /drivers/net/bnx2x_reg.h
parent9c63de6293775b537614550fd61075a33ada9469 (diff)
downloadkernel_samsung_crespo-ab6ad5a4875e99dffe957a411fe890402a91f67f.zip
kernel_samsung_crespo-ab6ad5a4875e99dffe957a411fe890402a91f67f.tar.gz
kernel_samsung_crespo-ab6ad5a4875e99dffe957a411fe890402a91f67f.tar.bz2
bnx2x: Whitespaces and comments
Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_reg.h')
-rw-r--r--drivers/net/bnx2x_reg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h
index 95ebf3f..0695be1 100644
--- a/drivers/net/bnx2x_reg.h
+++ b/drivers/net/bnx2x_reg.h
@@ -4561,7 +4561,8 @@
#define LATCHED_ATTN_SCPAD_PARITY_MCP 33
#define GENERAL_ATTEN_WORD(atten_name) ((94 + atten_name) / 32)
-#define GENERAL_ATTEN_OFFSET(atten_name) (1 << ((94 + atten_name) % 32))
+#define GENERAL_ATTEN_OFFSET(atten_name)\
+ (1UL << ((94 + atten_name) % 32))
/*
* This file defines GRC base address for every block.
* This file is included by chipsim, asm microcode and cpp microcode.