Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
e7xxx_edac.c File Reference
#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.

Data Structures

struct  e7xxx_pvt
 
struct  e7xxx_dev_info
 
struct  e7xxx_error_info
 

Macros

#define E7XXX_REVISION   " Ver: 2.0.2"
 
#define EDAC_MOD_STR   "e7xxx_edac"
 
#define e7xxx_printk(level, fmt, arg...)   edac_printk(level, "e7xxx", fmt, ##arg)
 
#define e7xxx_mc_printk(mci, level, fmt, arg...)   edac_mc_chipset_printk(mci, level, "e7xxx", fmt, ##arg)
 
#define PCI_DEVICE_ID_INTEL_7205_0   0x255d
 
#define PCI_DEVICE_ID_INTEL_7205_1_ERR   0x2551
 
#define PCI_DEVICE_ID_INTEL_7500_0   0x2540
 
#define PCI_DEVICE_ID_INTEL_7500_1_ERR   0x2541
 
#define PCI_DEVICE_ID_INTEL_7501_0   0x254c
 
#define PCI_DEVICE_ID_INTEL_7501_1_ERR   0x2541
 
#define PCI_DEVICE_ID_INTEL_7505_0   0x2550
 
#define PCI_DEVICE_ID_INTEL_7505_1_ERR   0x2551
 
#define E7XXX_NR_CSROWS   8 /* number of csrows */
 
#define E7XXX_NR_DIMMS   8 /* 2 channels, 4 dimms/channel */
 
#define E7XXX_DRB   0x60 /* DRAM row boundary register (8b) */
 
#define E7XXX_DRA   0x70 /* DRAM row attribute register (8b) */
 
#define E7XXX_DRC   0x7C /* DRAM controller mode reg (32b) */
 
#define E7XXX_TOLM   0xC4 /* DRAM top of low memory reg (16b) */
 
#define E7XXX_REMAPBASE   0xC6 /* DRAM remap base address reg (16b) */
 
#define E7XXX_REMAPLIMIT   0xC8 /* DRAM remap limit address reg (16b) */
 
#define E7XXX_DRAM_FERR   0x80 /* DRAM first error register (8b) */
 
#define E7XXX_DRAM_NERR   0x82 /* DRAM next error register (8b) */
 
#define E7XXX_DRAM_CELOG_ADD   0xA0 /* DRAM first correctable memory */
 
#define E7XXX_DRAM_UELOG_ADD   0xB0 /* DRAM first uncorrectable memory */
 
#define E7XXX_DRAM_CELOG_SYNDROME   0xD0 /* DRAM first correctable memory */
 

Enumerations

enum  e7xxx_chips { E7500 = 0, E7501, E7505, E7205 }
 

Functions

 MODULE_DEVICE_TABLE (pci, e7xxx_pci_tbl)
 
 module_init (e7xxx_init)
 
 module_exit (e7xxx_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Linux Networx (http://lnxi.com) Thayne Harbaugh et al\n""Based on.work by Dan Hollis et al")
 
 MODULE_DESCRIPTION ("MC support for Intel e7xxx memory controllers")
 
 module_param (edac_op_state, int, 0444)
 
 MODULE_PARM_DESC (edac_op_state,"EDAC Error Reporting state: 0=Poll,1=NMI")
 

Macro Definition Documentation

#define E7XXX_DRA   0x70 /* DRAM row attribute register (8b) */

Definition at line 81 of file e7xxx_edac.c.

#define E7XXX_DRAM_CELOG_ADD   0xA0 /* DRAM first correctable memory */

Definition at line 104 of file e7xxx_edac.c.

#define E7XXX_DRAM_CELOG_SYNDROME   0xD0 /* DRAM first correctable memory */

Definition at line 118 of file e7xxx_edac.c.

#define E7XXX_DRAM_FERR   0x80 /* DRAM first error register (8b) */

Definition at line 102 of file e7xxx_edac.c.

#define E7XXX_DRAM_NERR   0x82 /* DRAM next error register (8b) */

Definition at line 103 of file e7xxx_edac.c.

#define E7XXX_DRAM_UELOG_ADD   0xB0 /* DRAM first uncorrectable memory */

Definition at line 111 of file e7xxx_edac.c.

#define E7XXX_DRB   0x60 /* DRAM row boundary register (8b) */

Definition at line 80 of file e7xxx_edac.c.

#define E7XXX_DRC   0x7C /* DRAM controller mode reg (32b) */

Definition at line 92 of file e7xxx_edac.c.

#define e7xxx_mc_printk (   mci,
  level,
  fmt,
  arg... 
)    edac_mc_chipset_printk(mci, level, "e7xxx", fmt, ##arg)

Definition at line 41 of file e7xxx_edac.c.

#define E7XXX_NR_CSROWS   8 /* number of csrows */

Definition at line 76 of file e7xxx_edac.c.

#define E7XXX_NR_DIMMS   8 /* 2 channels, 4 dimms/channel */

Definition at line 77 of file e7xxx_edac.c.

#define e7xxx_printk (   level,
  fmt,
  arg... 
)    edac_printk(level, "e7xxx", fmt, ##arg)

Definition at line 38 of file e7xxx_edac.c.

#define E7XXX_REMAPBASE   0xC6 /* DRAM remap base address reg (16b) */

Definition at line 98 of file e7xxx_edac.c.

#define E7XXX_REMAPLIMIT   0xC8 /* DRAM remap limit address reg (16b) */

Definition at line 99 of file e7xxx_edac.c.

#define E7XXX_REVISION   " Ver: 2.0.2"

Definition at line 35 of file e7xxx_edac.c.

#define E7XXX_TOLM   0xC4 /* DRAM top of low memory reg (16b) */

Definition at line 97 of file e7xxx_edac.c.

#define EDAC_MOD_STR   "e7xxx_edac"

Definition at line 36 of file e7xxx_edac.c.

#define PCI_DEVICE_ID_INTEL_7205_0   0x255d

Definition at line 45 of file e7xxx_edac.c.

#define PCI_DEVICE_ID_INTEL_7205_1_ERR   0x2551

Definition at line 49 of file e7xxx_edac.c.

#define PCI_DEVICE_ID_INTEL_7500_0   0x2540

Definition at line 53 of file e7xxx_edac.c.

#define PCI_DEVICE_ID_INTEL_7500_1_ERR   0x2541

Definition at line 57 of file e7xxx_edac.c.

#define PCI_DEVICE_ID_INTEL_7501_0   0x254c

Definition at line 61 of file e7xxx_edac.c.

#define PCI_DEVICE_ID_INTEL_7501_1_ERR   0x2541

Definition at line 65 of file e7xxx_edac.c.

#define PCI_DEVICE_ID_INTEL_7505_0   0x2550

Definition at line 69 of file e7xxx_edac.c.

#define PCI_DEVICE_ID_INTEL_7505_1_ERR   0x2551

Definition at line 73 of file e7xxx_edac.c.

Enumeration Type Documentation

Enumerator:
E7500 
E7501 
E7505 
E7205 

Definition at line 121 of file e7xxx_edac.c.

Function Documentation

MODULE_AUTHOR ( "Linux Networx (http://lnxi.com) Thayne Harbaugh et al\n""Based on.work by Dan Hollis et al"  )
MODULE_DESCRIPTION ( "MC support for Intel e7xxx memory controllers"  )
MODULE_DEVICE_TABLE ( pci  ,
e7xxx_pci_tbl   
)
module_exit ( e7xxx_exit  )
module_init ( e7xxx_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( edac_op_state  ,
int  ,
0444   
)
MODULE_PARM_DESC ( edac_op_state  ,
"EDAC Error Reporting state:  0 = Poll 
)