Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pciehp_core.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/pci.h>
#include "pciehp.h"
#include <linux/interrupt.h>
#include <linux/time.h>

Go to the source code of this file.

Macros

#define DRIVER_VERSION   "0.4"
 
#define DRIVER_AUTHOR   "Dan Zink <[email protected]>, Greg Kroah-Hartman <[email protected]>, Dely Sy <[email protected]>"
 
#define DRIVER_DESC   "PCI Express Hot Plug Controller Driver"
 
#define PCIE_MODULE_NAME   "pciehp"
 

Functions

 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 module_param (pciehp_debug, bool, 0644)
 
 module_param (pciehp_poll_mode, bool, 0644)
 
 module_param (pciehp_poll_time, int, 0644)
 
 module_param (pciehp_force, bool, 0644)
 
 MODULE_PARM_DESC (pciehp_debug,"Debugging mode enabled or not")
 
 MODULE_PARM_DESC (pciehp_poll_mode,"Using polling mechanism for hot-plug events or not")
 
 MODULE_PARM_DESC (pciehp_poll_time,"Polling mechanism frequency, in seconds")
 
 MODULE_PARM_DESC (pciehp_force,"Force pciehp, even if OSHP is missing")
 
 module_init (pcied_init)
 
 module_exit (pcied_cleanup)
 

Variables

bool pciehp_debug
 
bool pciehp_poll_mode
 
int pciehp_poll_time
 
bool pciehp_force
 
struct workqueue_structpciehp_wq
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "Dan Zink <[email protected]>, Greg Kroah-Hartman <[email protected]>, Dely Sy <[email protected]>"

Definition at line 48 of file pciehp_core.c.

#define DRIVER_DESC   "PCI Express Hot Plug Controller Driver"

Definition at line 49 of file pciehp_core.c.

#define DRIVER_VERSION   "0.4"

Definition at line 47 of file pciehp_core.c.

#define PCIE_MODULE_NAME   "pciehp"

Definition at line 64 of file pciehp_core.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( pcied_cleanup  )
module_init ( pcied_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( pciehp_debug  ,
bool  ,
0644   
)
module_param ( pciehp_poll_mode  ,
bool  ,
0644   
)
module_param ( pciehp_poll_time  ,
int  ,
0644   
)
module_param ( pciehp_force  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( pciehp_debug  ,
"Debugging mode enabled or not"   
)
MODULE_PARM_DESC ( pciehp_poll_mode  ,
"Using polling mechanism for hot-plug events or not"   
)
MODULE_PARM_DESC ( pciehp_poll_time  ,
"Polling mechanism  frequency,
in seconds  
)
MODULE_PARM_DESC ( pciehp_force  ,
"Force  pciehp,
even if OSHP is missing"   
)

Variable Documentation

bool pciehp_debug

Definition at line 41 of file pciehp_core.c.

bool pciehp_force

Definition at line 44 of file pciehp_core.c.

bool pciehp_poll_mode

Definition at line 42 of file pciehp_core.c.

int pciehp_poll_time

Definition at line 43 of file pciehp_core.c.

Definition at line 45 of file pciehp_core.c.