Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
aer_inject.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/stddef.h>
#include "aerdrv.h"

Go to the source code of this file.

Data Structures

struct  aer_error_inj
 
struct  aer_error
 
struct  pci_bus_ops
 

Functions

 module_param (aer_mask_override, bool, 0)
 
int pci_write_aer (struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val)
 
 module_init (aer_inject_init)
 
 module_exit (aer_inject_exit)
 
 MODULE_DESCRIPTION ("PCIe AER software error injector")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

MODULE_DESCRIPTION ( "PCIe AER software error injector"  )
module_exit ( aer_inject_exit  )
module_init ( aer_inject_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( aer_mask_override  ,
bool  ,
 
)
int pci_write_aer ( struct pci_bus bus,
unsigned int  devfn,
int  where,
int  size,
u32  val 
)

Definition at line 215 of file aer_inject.c.