Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
acpiphp_ibm.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <acpi/acpi_bus.h>
#include <linux/sysfs.h>
#include <linux/kobject.h>
#include <asm/uaccess.h>
#include <linux/moduleparam.h>
#include <linux/pci.h>
#include "acpiphp.h"
#include "../pci.h"

Go to the source code of this file.

Data Structures

union  apci_descriptor
 
struct  notification
 

Macros

#define DRIVER_VERSION   "1.0.1"
 
#define DRIVER_AUTHOR   "Irene Zubarev <[email protected]>, Vernon Mauery <[email protected]>"
 
#define DRIVER_DESC   "ACPI Hot Plug PCI Controller Driver IBM extension"
 
#define MY_NAME   "acpiphp_ibm"
 
#define dbg(format, arg...)
 
#define FOUND_APCI   0x61504349
 
#define IBM_HARDWARE_ID1   "IBM37D0"
 
#define IBM_HARDWARE_ID2   "IBM37D4"
 
#define hpslot_to_sun(A)   (((struct slot *)((A)->private))->acpi_slot->sun)
 

Functions

 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRIVER_VERSION)
 
 module_param (debug, bool, 0644)
 
 MODULE_PARM_DESC (debug," Debugging mode enabled or not")
 
 module_init (ibm_acpiphp_init)
 
 module_exit (ibm_acpiphp_exit)
 

Macro Definition Documentation

#define dbg (   format,
  arg... 
)
Value:
do { \
if (debug) \
printk(KERN_DEBUG "%s: " format, \
MY_NAME , ## arg); \
} while (0)

Definition at line 57 of file acpiphp_ibm.c.

#define DRIVER_AUTHOR   "Irene Zubarev <[email protected]>, Vernon Mauery <[email protected]>"

Definition at line 43 of file acpiphp_ibm.c.

#define DRIVER_DESC   "ACPI Hot Plug PCI Controller Driver IBM extension"

Definition at line 44 of file acpiphp_ibm.c.

#define DRIVER_VERSION   "1.0.1"

Definition at line 42 of file acpiphp_ibm.c.

#define FOUND_APCI   0x61504349

Definition at line 64 of file acpiphp_ibm.c.

#define hpslot_to_sun (   A)    (((struct slot *)((A)->private))->acpi_slot->sun)

Definition at line 69 of file acpiphp_ibm.c.

#define IBM_HARDWARE_ID1   "IBM37D0"

Definition at line 66 of file acpiphp_ibm.c.

#define IBM_HARDWARE_ID2   "IBM37D4"

Definition at line 67 of file acpiphp_ibm.c.

#define MY_NAME   "acpiphp_ibm"

Definition at line 54 of file acpiphp_ibm.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( ibm_acpiphp_exit  )
module_init ( ibm_acpiphp_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
" Debugging mode enabled or not"   
)
MODULE_VERSION ( DRIVER_VERSION  )