aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/i82975x_edac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/edac/i82975x_edac.c')
-rw-r--r--drivers/edac/i82975x_edac.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/edac/i82975x_edac.c b/drivers/edac/i82975x_edac.c
index 0ee888456932..2eed3ea2cf62 100644
--- a/drivers/edac/i82975x_edac.c
+++ b/drivers/edac/i82975x_edac.c
@@ -14,7 +14,7 @@
14#include <linux/pci.h> 14#include <linux/pci.h>
15#include <linux/pci_ids.h> 15#include <linux/pci_ids.h>
16#include <linux/slab.h> 16#include <linux/slab.h>
17 17#include <linux/edac.h>
18#include "edac_core.h" 18#include "edac_core.h"
19 19
20#define I82975X_REVISION " Ver: 1.0.0 " __DATE__ 20#define I82975X_REVISION " Ver: 1.0.0 " __DATE__
@@ -611,6 +611,9 @@ static int __init i82975x_init(void)
611 611
612 debugf3("%s()\n", __func__); 612 debugf3("%s()\n", __func__);
613 613
614 /* Ensure that the OPSTATE is set correctly for POLL or NMI */
615 opstate_init();
616
614 pci_rc = pci_register_driver(&i82975x_driver); 617 pci_rc = pci_register_driver(&i82975x_driver);
615 if (pci_rc < 0) 618 if (pci_rc < 0)
616 goto fail0; 619 goto fail0;
@@ -664,3 +667,6 @@ module_exit(i82975x_exit);
664MODULE_LICENSE("GPL"); 667MODULE_LICENSE("GPL");
665MODULE_AUTHOR("Arvind R. <arvind@acarlab.com>"); 668MODULE_AUTHOR("Arvind R. <arvind@acarlab.com>");
666MODULE_DESCRIPTION("MC support for Intel 82975 memory hub controllers"); 669MODULE_DESCRIPTION("MC support for Intel 82975 memory hub controllers");
670
671module_param(edac_op_state, int, 0444);
672MODULE_PARM_DESC(edac_op_state, "EDAC Error Reporting state: 0=Poll,1=NMI");