Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
mthca_catas.c File Reference
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include "mthca_dev.h"

Go to the source code of this file.

Enumerations

enum  {
  MTHCA_CATAS_POLL_INTERVAL = 5 * HZ, MTHCA_CATAS_TYPE_INTERNAL = 0, MTHCA_CATAS_TYPE_UPLINK = 3, MTHCA_CATAS_TYPE_DDR = 4,
  MTHCA_CATAS_TYPE_PARITY = 5
}
 

Functions

 module_param_named (catas_reset_disable, catas_reset_disable, int, 0644)
 
 MODULE_PARM_DESC (catas_reset_disable,"disable reset on catastrophic event if nonzero")
 
void mthca_start_catas_poll (struct mthca_dev *dev)
 
void mthca_stop_catas_poll (struct mthca_dev *dev)
 
int __init mthca_catas_init (void)
 
void mthca_catas_cleanup (void)
 

Enumeration Type Documentation

anonymous enum
Enumerator:
MTHCA_CATAS_POLL_INTERVAL 
MTHCA_CATAS_TYPE_INTERNAL 
MTHCA_CATAS_TYPE_UPLINK 
MTHCA_CATAS_TYPE_DDR 
MTHCA_CATAS_TYPE_PARITY 

Definition at line 40 of file mthca_catas.c.

Function Documentation

module_param_named ( catas_reset_disable  ,
catas_reset_disable  ,
int  ,
0644   
)
MODULE_PARM_DESC ( catas_reset_disable  ,
"disable reset on catastrophic event if nonzero"   
)
void mthca_catas_cleanup ( void  )

Definition at line 197 of file mthca_catas.c.

int __init mthca_catas_init ( void  )

Definition at line 186 of file mthca_catas.c.

void mthca_start_catas_poll ( struct mthca_dev dev)

Definition at line 148 of file mthca_catas.c.

void mthca_stop_catas_poll ( struct mthca_dev dev)

Definition at line 174 of file mthca_catas.c.