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>
This commit is contained in:
committed by
David S. Miller
parent
555f6c7837
commit
8badd27aa0
@@ -1224,15 +1224,9 @@ struct host_func_stats {
|
||||
struct atten_def_status_block {
|
||||
u32 attn_bits;
|
||||
u32 attn_bits_ack;
|
||||
#if defined(__BIG_ENDIAN)
|
||||
u16 attn_bits_index;
|
||||
u8 reserved0;
|
||||
u8 status_block_id;
|
||||
#elif defined(__LITTLE_ENDIAN)
|
||||
u8 status_block_id;
|
||||
u8 reserved0;
|
||||
u16 attn_bits_index;
|
||||
#endif
|
||||
u32 reserved1;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user