diff options
Diffstat (limited to 'drivers/edac/pasemi_edac.c')
-rw-r--r-- | drivers/edac/pasemi_edac.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/edac/pasemi_edac.c b/drivers/edac/pasemi_edac.c index 90320917be28..3fd65a563848 100644 --- a/drivers/edac/pasemi_edac.c +++ b/drivers/edac/pasemi_edac.c | |||
@@ -284,6 +284,9 @@ static struct pci_driver pasemi_edac_driver = { | |||
284 | 284 | ||
285 | static int __init pasemi_edac_init(void) | 285 | static int __init pasemi_edac_init(void) |
286 | { | 286 | { |
287 | /* Ensure that the OPSTATE is set correctly for POLL or NMI */ | ||
288 | opstate_init(); | ||
289 | |||
287 | return pci_register_driver(&pasemi_edac_driver); | 290 | return pci_register_driver(&pasemi_edac_driver); |
288 | } | 291 | } |
289 | 292 | ||
@@ -298,3 +301,6 @@ module_exit(pasemi_edac_exit); | |||
298 | MODULE_LICENSE("GPL"); | 301 | MODULE_LICENSE("GPL"); |
299 | MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>"); | 302 | MODULE_AUTHOR("Egor Martovetsky <egor@pasemi.com>"); |
300 | MODULE_DESCRIPTION("MC support for PA Semi PWRficient memory controller"); | 303 | MODULE_DESCRIPTION("MC support for PA Semi PWRficient memory controller"); |
304 | module_param(edac_op_state, int, 0444); | ||
305 | MODULE_PARM_DESC(edac_op_state, "EDAC Error Reporting state: 0=Poll,1=NMI"); | ||
306 | |||