diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 03:36:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:31:05 -0500 |
commit | 8badd27aa0d7c02572fcd1a4a3c6b57d67f40b78 (patch) | |
tree | 1a207ceefdd4dd4269a1449a47356e43f96d5d81 /drivers/net/bnx2x_hsi.h | |
parent | 555f6c78373f969f14487253abe331d085449360 (diff) |
bnx2x: MSI support
Enabling MSI on top of MSI-X and INTA. Also changing the module parameter to
allow choosing INTA or MSI even when MSI-X is available. The default status
block should not be reversed for endianity. Since MSI can issue
re-configuration, the interrupt disable function now requires mmiowb
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_hsi.h')
-rw-r--r-- | drivers/net/bnx2x_hsi.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/bnx2x_hsi.h b/drivers/net/bnx2x_hsi.h index c41682353050..25751a2b7a24 100644 --- a/drivers/net/bnx2x_hsi.h +++ b/drivers/net/bnx2x_hsi.h | |||
@@ -1224,15 +1224,9 @@ struct host_func_stats { | |||
1224 | struct atten_def_status_block { | 1224 | struct atten_def_status_block { |
1225 | u32 attn_bits; | 1225 | u32 attn_bits; |
1226 | u32 attn_bits_ack; | 1226 | u32 attn_bits_ack; |
1227 | #if defined(__BIG_ENDIAN) | ||
1228 | u16 attn_bits_index; | ||
1229 | u8 reserved0; | ||
1230 | u8 status_block_id; | ||
1231 | #elif defined(__LITTLE_ENDIAN) | ||
1232 | u8 status_block_id; | 1227 | u8 status_block_id; |
1233 | u8 reserved0; | 1228 | u8 reserved0; |
1234 | u16 attn_bits_index; | 1229 | u16 attn_bits_index; |
1235 | #endif | ||
1236 | u32 reserved1; | 1230 | u32 reserved1; |
1237 | }; | 1231 | }; |
1238 | 1232 | ||