diff options
author | Michael Chan <mchan@broadcom.com> | 2011-01-25 23:14:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-26 23:28:52 +0100 |
commit | 4bb9ebc78097376b3734c6d3001a96aecac0f7bb (patch) | |
tree | 6f6d54fa1b27782a97cea8446012d0fc073a0917 /drivers/net/bnx2.h | |
parent | cnic: Fix big endian bug (diff) | |
download | linux-4bb9ebc78097376b3734c6d3001a96aecac0f7bb.tar.xz linux-4bb9ebc78097376b3734c6d3001a96aecac0f7bb.zip |
bnx2: Eliminate AER error messages on systems not supporting it
On PPC for example, AER is not supported and we see unnecessary AER
error message without this patch:
bnx2 0003:01:00.1: pci_cleanup_aer_uncorrect_error_status failed 0xfffffffb
Reported-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index 5488a2e82fe9..f459fb2f9add 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h @@ -6741,6 +6741,7 @@ struct bnx2 { #define BNX2_FLAG_JUMBO_BROKEN 0x00000800 #define BNX2_FLAG_CAN_KEEP_VLAN 0x00001000 #define BNX2_FLAG_BROKEN_STATS 0x00002000 +#define BNX2_FLAG_AER_ENABLED 0x00004000 struct bnx2_napi bnx2_napi[BNX2_MAX_MSIX_VEC]; |