Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cpqphp_core.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/pci.h>
#include <linux/pci_hotplug.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/uaccess.h>
#include "cpqphp.h"
#include "cpqphp_nvram.h"

Go to the source code of this file.

Macros

#define DRIVER_VERSION   "0.9.8"
 
#define DRIVER_AUTHOR   "Dan Zink <[email protected]>, Greg Kroah-Hartman <[email protected]>"
 
#define DRIVER_DESC   "Compaq Hot Plug PCI Controller Driver"
 
#define CPQHPC_MODULE_MINOR   208
 
#define SLOT_NAME_SIZE   10
 

Functions

 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 module_param (power_mode, bool, 0644)
 
 MODULE_PARM_DESC (power_mode,"Power mode enabled or not")
 
 module_param (debug, bool, 0644)
 
 MODULE_PARM_DESC (debug,"Debugging mode enabled or not")
 
 MODULE_DEVICE_TABLE (pci, hpcd_pci_tbl)
 
 module_init (cpqhpc_init)
 
 module_exit (cpqhpc_cleanup)
 

Variables

int cpqhp_debug
 
int cpqhp_legacy_mode
 
struct controllercpqhp_ctrl_list
 
struct pci_funccpqhp_slot_list [256]
 
struct irq_routing_tablecpqhp_routing_table
 

Macro Definition Documentation

#define CPQHPC_MODULE_MINOR   208

Definition at line 78 of file cpqphp_core.c.

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

Definition at line 65 of file cpqphp_core.c.

#define DRIVER_DESC   "Compaq Hot Plug PCI Controller Driver"

Definition at line 66 of file cpqphp_core.c.

#define DRIVER_VERSION   "0.9.8"

Definition at line 64 of file cpqphp_core.c.

#define SLOT_NAME_SIZE   10

Definition at line 597 of file cpqphp_core.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( pci  ,
hpcd_pci_tbl   
)
module_exit ( cpqhpc_cleanup  )
module_init ( cpqhpc_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( power_mode  ,
bool  ,
0644   
)
module_param ( debug  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( power_mode  ,
"Power mode enabled or not"   
)
MODULE_PARM_DESC ( debug  ,
"Debugging mode enabled or not"   
)

Variable Documentation

struct controller* cpqhp_ctrl_list

Definition at line 52 of file cpqphp_core.c.

int cpqhp_debug

Definition at line 50 of file cpqphp_core.c.

int cpqhp_legacy_mode

Definition at line 51 of file cpqphp_core.c.

struct irq_routing_table* cpqhp_routing_table

Definition at line 54 of file cpqphp_core.c.

struct pci_func* cpqhp_slot_list[256]

Definition at line 53 of file cpqphp_core.c.