PCI aer: add pci_cleanup_aer_correct_aer_status
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 6 Jun 2007 03:50:34 +0000 (11:50 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:02:08 +0000 (16:02 -0700)
commitf0dce411930d16a678173e534594bca160f5eaff
tree52d7c4d6d4e374ac3b808f4f7a9b0ba7be729234
parent65b3bc358a3195ebe459761a248cf33a61539947
PCI aer: add pci_cleanup_aer_correct_aer_status

Function to clear bogus correctable errors. Analog to pci_aer_uncorrect_are_status.
The Marvell chips seem to start out with a bogus value that needs to be
cleared.

Yanmin ported it to 2.6.22-rc4 by fixing a fuzz patch applying info.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Acked-by: Zhang Yanmin <yanmin.zhang@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/aer/aerdrv_core.c
include/linux/aer.h