bnx2: Eliminate AER error messages on systems not supporting it
authorMichael Chan <mchan@broadcom.com>
Tue, 25 Jan 2011 22:14:51 +0000 (22:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2011 22:28:52 +0000 (14:28 -0800)
commit4bb9ebc78097376b3734c6d3001a96aecac0f7bb
tree6f6d54fa1b27782a97cea8446012d0fc073a0917
parent5138826b52f8bc441770069b1b305e1d1426ae9e
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>
drivers/net/bnx2.c
drivers/net/bnx2.h