Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/edac.h>
#include "edac_core.h"
Go to the source code of this file.
Functions | |
MODULE_DEVICE_TABLE (pci, pasemi_edac_pci_tbl) | |
module_init (pasemi_edac_init) | |
module_exit (pasemi_edac_exit) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Egor Martovetsky <[email protected]>") | |
MODULE_DESCRIPTION ("MC support for PA Semi PWRficient memory controller") | |
module_param (edac_op_state, int, 0444) | |
MODULE_PARM_DESC (edac_op_state,"EDAC Error Reporting state: 0=Poll,1=NMI") | |
#define MCCFG_ERRCOR 0x388 |
Definition at line 35 of file pasemi_edac.c.
#define MCCFG_ERRCOR_ECC_CRR_EN 0x00000001 |
Definition at line 38 of file pasemi_edac.c.
#define MCCFG_ERRCOR_ECC_GEN_EN 0x00000010 |
Definition at line 37 of file pasemi_edac.c.
#define MCCFG_ERRCOR_RNK_FAIL_DET_EN 0x00000100 |
Definition at line 36 of file pasemi_edac.c.
#define MCCFG_MCEN 0x300 |
Definition at line 33 of file pasemi_edac.c.
#define MCCFG_MCEN_MMC_EN 0x00000001 |
Definition at line 34 of file pasemi_edac.c.
#define MCCFG_SCRUB 0x384 |
Definition at line 39 of file pasemi_edac.c.
#define MCCFG_SCRUB_RGLR_SCRB_EN 0x00000001 |
Definition at line 40 of file pasemi_edac.c.
#define MCDEBUG_ERRCNT1 0x734 |
Definition at line 49 of file pasemi_edac.c.
#define MCDEBUG_ERRCNT1_SBE_CNT_OVRFLO 0x00000080 |
Definition at line 50 of file pasemi_edac.c.
#define MCDEBUG_ERRCTL1 0x728 |
Definition at line 41 of file pasemi_edac.c.
#define MCDEBUG_ERRCTL1_MBE_LOG_EN 0x00040000 |
Definition at line 43 of file pasemi_edac.c.
#define MCDEBUG_ERRCTL1_RFL_LOG_EN 0x00080000 |
Definition at line 42 of file pasemi_edac.c.
#define MCDEBUG_ERRCTL1_SBE_LOG_EN 0x00020000 |
Definition at line 44 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A 0x738 |
Definition at line 51 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_BA_M 0x00700000 |
Definition at line 57 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_BA_S 20 |
Definition at line 58 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_CS_M 0x00070000 |
Definition at line 59 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_CS_S 16 |
Definition at line 60 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_TYPE_M 0x30000000 |
Definition at line 52 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_TYPE_MBE 0x20000000 |
Definition at line 55 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_TYPE_NONE 0x00000000 |
Definition at line 53 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_TYPE_RFL 0x30000000 |
Definition at line 56 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_MERR_TYPE_SBE 0x10000000 |
Definition at line 54 of file pasemi_edac.c.
#define MCDEBUG_ERRLOG1A_SYNDROME_M 0x0000ffff |
Definition at line 61 of file pasemi_edac.c.
#define MCDEBUG_ERRSTA 0x730 |
Definition at line 45 of file pasemi_edac.c.
#define MCDEBUG_ERRSTA_MBE_STATUS 0x00000002 |
Definition at line 47 of file pasemi_edac.c.
#define MCDEBUG_ERRSTA_RFL_STATUS 0x00000004 |
Definition at line 46 of file pasemi_edac.c.
#define MCDEBUG_ERRSTA_SBE_STATUS 0x00000001 |
Definition at line 48 of file pasemi_edac.c.
#define MCDRAM_RANKCFG 0x114 |
Definition at line 62 of file pasemi_edac.c.
#define MCDRAM_RANKCFG_EN 0x00000001 |
Definition at line 63 of file pasemi_edac.c.
#define MCDRAM_RANKCFG_TYPE_SIZE_M 0x000001c0 |
Definition at line 64 of file pasemi_edac.c.
#define MCDRAM_RANKCFG_TYPE_SIZE_S 6 |
Definition at line 65 of file pasemi_edac.c.
#define MODULE_NAME "pasemi_edac" |
Definition at line 31 of file pasemi_edac.c.
#define PASEMI_EDAC_ERROR_GRAIN 64 |
Definition at line 69 of file pasemi_edac.c.
#define PASEMI_EDAC_NR_CHANS 1 |
Definition at line 68 of file pasemi_edac.c.
#define PASEMI_EDAC_NR_CSROWS 8 |
Definition at line 67 of file pasemi_edac.c.
MODULE_AUTHOR | ( | "Egor Martovetsky <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "MC support for PA Semi PWRficient memory controller" | ) |
MODULE_DEVICE_TABLE | ( | pci | , |
pasemi_edac_pci_tbl | |||
) |
module_exit | ( | pasemi_edac_exit | ) |
module_init | ( | pasemi_edac_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | edac_op_state | , |
int | , | ||
0444 | |||
) |
MODULE_PARM_DESC | ( | edac_op_state | , |
"EDAC Error Reporting state: | 0 = Poll |
||
) |