|
Linux Kernel
3.7.1
|
#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) | |
| #define _COMPONENT ACPI_PCI_COMPONENT |
Definition at line 49 of file pci_slot.c.
| #define dbg | ( | format, | |
| arg... | |||
| ) |
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.
Definition at line 53 of file pci_slot.c.
Definition at line 54 of file pci_slot.c.
| #define MY_NAME "pci_slot" |
Definition at line 52 of file pci_slot.c.
Definition at line 62 of file pci_slot.c.
| 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" | ) |
1.8.2