Linux Kernel
3.7.1
|
#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_struct * | pciehp_wq |
#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.
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" | |||
) |
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.
struct workqueue_struct* pciehp_wq |
Definition at line 45 of file pciehp_core.c.