Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pci_slot.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/acpi.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include <linux/dmi.h>

Go to the source code of this file.

Data Structures

struct  acpi_pci_slot
 
struct  callback_args
 

Macros

#define DRIVER_VERSION   "0.1"
 
#define DRIVER_AUTHOR   "Alex Chiang <[email protected]>"
 
#define DRIVER_DESC   "ACPI PCI Slot Detection Driver"
 
#define _COMPONENT   ACPI_PCI_COMPONENT
 
#define MY_NAME   "pci_slot"
 
#define err(format, arg...)   printk(KERN_ERR "%s: " format , MY_NAME , ## arg)
 
#define info(format, arg...)   printk(KERN_INFO "%s: " format , MY_NAME , ## arg)
 
#define dbg(format, arg...)
 
#define SLOT_NAME_SIZE   21 /* Inspired by #define in acpiphp.h */
 

Functions

 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_PARM_DESC (debug,"Debugging mode enabled or not")
 
 module_param (debug, bool, 0644)
 
 ACPI_MODULE_NAME ("pci_slot")
 
 module_init (acpi_pci_slot_init)
 
 module_exit (acpi_pci_slot_exit)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_PCI_COMPONENT

Definition at line 49 of file pci_slot.c.

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

Definition at line 55 of file pci_slot.c.

#define DRIVER_AUTHOR   "Alex Chiang <[email protected]>"

Definition at line 41 of file pci_slot.c.

#define DRIVER_DESC   "ACPI PCI Slot Detection Driver"

Definition at line 42 of file pci_slot.c.

#define DRIVER_VERSION   "0.1"

Definition at line 40 of file pci_slot.c.

#define err (   format,
  arg... 
)    printk(KERN_ERR "%s: " format , MY_NAME , ## arg)

Definition at line 53 of file pci_slot.c.

#define info (   format,
  arg... 
)    printk(KERN_INFO "%s: " format , MY_NAME , ## arg)

Definition at line 54 of file pci_slot.c.

#define MY_NAME   "pci_slot"

Definition at line 52 of file pci_slot.c.

#define SLOT_NAME_SIZE   21 /* Inspired by #define in acpiphp.h */

Definition at line 62 of file pci_slot.c.

Function Documentation

ACPI_MODULE_NAME ( "pci_slot"  )
MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
module_exit ( acpi_pci_slot_exit  )
module_init ( acpi_pci_slot_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Debugging mode enabled or not"   
)