Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
aerdrv.c File Reference
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/pci-acpi.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/pm.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/pcieport_if.h>
#include <linux/slab.h>
#include "aerdrv.h"
#include "../../pci.h"

Go to the source code of this file.

Macros

#define DRIVER_VERSION   "v1.0"
 
#define DRIVER_AUTHOR   "[email protected]"
 
#define DRIVER_DESC   "Root Port Advanced Error Reporting Driver"
 

Functions

 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
void pci_no_aer (void)
 
bool pci_aer_available (void)
 
irqreturn_t aer_irq (int irq, void *context)
 
 EXPORT_SYMBOL_GPL (aer_irq)
 
 module_init (aer_service_init)
 
 module_exit (aer_service_exit)
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "[email protected]"

Definition at line 38 of file aerdrv.c.

#define DRIVER_DESC   "Root Port Advanced Error Reporting Driver"

Definition at line 39 of file aerdrv.c.

#define DRIVER_VERSION   "v1.0"

Definition at line 37 of file aerdrv.c.

Function Documentation

irqreturn_t aer_irq ( int  irq,
void context 
)

aer_irq - Root Port's ISR : IRQ assigned to Root Port : pointer to Root Port data structure

Invoked when Root Port detects AER messages.

Definition at line 194 of file aerdrv.c.

EXPORT_SYMBOL_GPL ( aer_irq  )
MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( aer_service_exit  )
module_init ( aer_service_init  )
MODULE_LICENSE ( "GPL"  )
bool pci_aer_available ( void  )

Definition at line 76 of file aerdrv.c.

void pci_no_aer ( void  )

Definition at line 71 of file aerdrv.c.