be2net: use PCIe AER capability
authorSathya Perla <sathya.perla@emulex.com>
Wed, 5 Sep 2012 01:56:48 +0000 (01:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Sep 2012 21:49:28 +0000 (17:49 -0400)
commitd6b6d987787876fd381bfeda310c6682d425c0a2
tree0333171570e9abc2c1a2a8d4e3e5358b6820371e
parent23d3b8bfb8eb20e7d96afa09991e6a5ed1c83164
be2net: use PCIe AER capability

This patch allows code to handle the PCIe AER capability.
The PCI callbacks for error handling/reset/recovery already exist in be2net
and have been tested with EEH/ppc.
This patch has been tested using the aer-inject tool.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c