Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
r82600_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  r82600_error_info
 

Macros

#define R82600_REVISION   " Ver: 2.0.2"
 
#define EDAC_MOD_STR   "r82600_edac"
 
#define r82600_printk(level, fmt, arg...)   edac_printk(level, "r82600", fmt, ##arg)
 
#define r82600_mc_printk(mci, level, fmt, arg...)   edac_mc_chipset_printk(mci, level, "r82600", fmt, ##arg)
 
#define R82600_NR_CSROWS   4
 
#define R82600_NR_CHANS   1
 
#define R82600_NR_DIMMS   4
 
#define R82600_BRIDGE_ID   0x8200
 
#define R82600_DRAMC
 
#define R82600_SDRAMC
 
#define R82600_EAP
 
#define R82600_DRBA
 

Functions

 MODULE_DEVICE_TABLE (pci, r82600_pci_tbl)
 
 module_init (r82600_init)
 
 module_exit (r82600_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Tim Small <[email protected]> - WPAD Ltd. ""on behalf of EADS Astrium")
 
 MODULE_DESCRIPTION ("MC support for Radisys 82600 memory controllers")
 
 module_param (disable_hardware_scrub, bool, 0644)
 
 MODULE_PARM_DESC (disable_hardware_scrub,"If set, disable the chipset's automatic scrub for CEs")
 
 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 EDAC_MOD_STR   "r82600_edac"

Definition at line 26 of file r82600_edac.c.

#define R82600_BRIDGE_ID   0x8200

Definition at line 48 of file r82600_edac.c.

#define R82600_DRAMC
Value:
0x57 /* Various SDRAM related control bits
* all bits are R/W
*
* 7 SDRAM ISA Hole Enable
* 6 Flash Page Mode Enable
* 5 ECC Enable: 1=ECC 0=noECC
* 4 DRAM DIMM Type: 1=
* 3 BIOS Alias Disable
* 2 SDRAM BIOS Flash Write Enable
* 1:0 SDRAM Refresh Rate: 00=Disabled
* 01=7.8usec (256Mbit SDRAMs)
* 10=15.6us 11=125usec
*/

Definition at line 51 of file r82600_edac.c.

#define R82600_DRBA
Value:
0x60 /* + 0x60..0x63 SDRAM Row Boundary Address
* Registers
*
* 7:0 Address lines 30:24 - upper limit of
* each row [p57]
*/

Definition at line 57 of file r82600_edac.c.

#define R82600_EAP

Definition at line 55 of file r82600_edac.c.

#define r82600_mc_printk (   mci,
  level,
  fmt,
  arg... 
)    edac_mc_chipset_printk(mci, level, "r82600", fmt, ##arg)

Definition at line 31 of file r82600_edac.c.

#define R82600_NR_CHANS   1

Definition at line 45 of file r82600_edac.c.

#define R82600_NR_CSROWS   4

Definition at line 44 of file r82600_edac.c.

#define R82600_NR_DIMMS   4

Definition at line 46 of file r82600_edac.c.

#define r82600_printk (   level,
  fmt,
  arg... 
)    edac_printk(level, "r82600", fmt, ##arg)

Definition at line 28 of file r82600_edac.c.

#define R82600_REVISION   " Ver: 2.0.2"

Definition at line 25 of file r82600_edac.c.

#define R82600_SDRAMC
Value:
0x76 /* "SDRAM Control Register"
* More SDRAM related control bits
* all bits are R/W
*
* 15:8 Reserved.
*
* 7:5 Special SDRAM Mode Select
*
* 4 Force ECC
*
* 1=Drive ECC bits to 0 during
* write cycles (i.e. ECC test mode)
*
* 0=Normal ECC functioning
*
* 3 Enhanced Paging Enable
*
* 2 CAS# Latency 0=3clks 1=2clks
*
* 1 RAS# to CAS# Delay 0=3 1=2
*
* 0 RAS# Precharge 0=3 1=2
*/

Definition at line 53 of file r82600_edac.c.

Function Documentation

MODULE_AUTHOR ( "Tim Small <[email protected]> - WPAD Ltd. ""on behalf of EADS Astrium"  )
MODULE_DESCRIPTION ( "MC support for Radisys 82600 memory controllers"  )
MODULE_DEVICE_TABLE ( pci  ,
r82600_pci_tbl   
)
module_exit ( r82600_exit  )
module_init ( r82600_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( disable_hardware_scrub  ,
bool  ,
0644   
)
module_param ( edac_op_state  ,
int  ,
0444   
)
MODULE_PARM_DESC ( disable_hardware_scrub  ,
"If  set,
disable the chipset's automatic scrub for CEs"   
)
MODULE_PARM_DESC ( edac_op_state  ,
"EDAC Error Reporting state:  0 = Poll 
)