#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.
| #define EDAC_MOD_STR "i82443bxgx_edac" |
| #define I82443_REVISION "0.1" |
| #define I82443BXGX_DRAMC_DRAM_IS_EDO 0 /* 00 = EDO */ |
| #define I82443BXGX_DRAMC_DRAM_IS_RSDRAM 2 /* 10 = Registered SDRAM */ |
| #define I82443BXGX_DRAMC_DRAM_IS_SDRAM 1 /* 01 = SDRAM */ |
| #define I82443BXGX_DRAMC_OFFSET_DT 3 /* 2 bits, DRAM Type */ |
| #define I82443BXGX_EAP_OFFSET_SBE BIT(0) /* Err at EAP was single-bit (W1TC) */ |
| #define I82443BXGX_ERRCMD |
| #define I82443BXGX_ERRCMD_OFFSET_SERR_ON_MBE BIT(1) /* 1 = enable */ |
| #define I82443BXGX_ERRCMD_OFFSET_SERR_ON_SBE BIT(0) /* 1 = enable */ |
| #define I82443BXGX_ERRSTS |
| #define I82443BXGX_ERRSTS_OFFSET_MBFRE 5 /* 3 bits - first err row multibit */ |
| #define I82443BXGX_ERRSTS_OFFSET_MEF BIT(4) /* 1 = MBE occurred */ |
| #define I82443BXGX_ERRSTS_OFFSET_SBFRE 1 /* 3 bits - first err row singlebit */ |
| #define I82443BXGX_ERRSTS_OFFSET_SEF BIT(0) /* 1 = SBE occurred */ |
| #define I82443BXGX_NBXCFG |
| #define I82443BXGX_NBXCFG_INTEGRITY_EC 0x1 /* 01 = EC (only) */ |
| #define I82443BXGX_NBXCFG_INTEGRITY_ECC 0x2 /* 10 = ECC */ |
| #define I82443BXGX_NBXCFG_INTEGRITY_NONE 0x0 /* 00 = Non-ECC */ |
| #define I82443BXGX_NBXCFG_INTEGRITY_SCRUB 0x3 /* 11 = ECC + HW Scrub */ |
| #define I82443BXGX_NBXCFG_OFFSET_DRAM_FREQ 12 /* 2 bits,00=100MHz,10=66 MHz */ |
| #define I82443BXGX_NBXCFG_OFFSET_DRAM_INTEGRITY 7 /* 2 bits: */ |
| #define I82443BXGX_NBXCFG_OFFSET_ECC_DIAG_ENABLE 6 |
| #define I82443BXGX_NBXCFG_OFFSET_NON_ECCROW |
| #define I82443BXGX_NR_CHANS 1 |
| #define I82443BXGX_NR_CSROWS 8 |
| #define I82443BXGX_NR_DIMMS 4 |
| EXPORT_SYMBOL_GPL |
( |
i82443bxgx_edacmc_probe1 |
| ) |
|
| EXPORT_SYMBOL_GPL |
( |
i82443bxgx_edacmc_remove_one |
| ) |
|
| MODULE_DESCRIPTION |
( |
"EDAC MC support for Intel 82443BX/GX memory controllers" |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
i82443bxgx_pci_tbl |
|
|
) |
| |
| module_exit |
( |
i82443bxgx_edacmc_exit |
| ) |
|
| module_init |
( |
i82443bxgx_edacmc_init |
| ) |
|