]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf06c0e96d1a5503ccf03eff0cc85259421c81494
tree6f6d54fa1b27782a97cea8446012d0fc073a0917
parent0fada60c9f89d70ad27be9cc50fb5ca3ca14ed37
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