Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pciehp_acpi.c File Reference
#include <linux/acpi.h>
#include <linux/pci.h>
#include <linux/pci_hotplug.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "pciehp.h"

Go to the source code of this file.

Data Structures

struct  dummy_slot
 

Macros

#define PCIEHP_DETECT_PCIE   (0)
 
#define PCIEHP_DETECT_ACPI   (1)
 
#define PCIEHP_DETECT_AUTO   (2)
 
#define PCIEHP_DETECT_DEFAULT   PCIEHP_DETECT_AUTO
 

Functions

 module_param (pciehp_detect_mode, charp, 0444)
 
 MODULE_PARM_DESC (pciehp_detect_mode,"Slot detection mode: pcie, acpi, auto\n"" pcie - Use PCIe based slot detection\n"" acpi - Use ACPI for slot detection\n"" auto(default) - Auto select mode. Use acpi option if duplicate\n"" slot ids are found. Otherwise, use pcie option\n")
 
int pciehp_acpi_slot_detection_check (struct pci_dev *dev)
 
void __init pciehp_acpi_slot_detection_init (void)
 

Macro Definition Documentation

#define PCIEHP_DETECT_ACPI   (1)

Definition at line 34 of file pciehp_acpi.c.

#define PCIEHP_DETECT_AUTO   (2)

Definition at line 35 of file pciehp_acpi.c.

#define PCIEHP_DETECT_DEFAULT   PCIEHP_DETECT_AUTO

Definition at line 36 of file pciehp_acpi.c.

#define PCIEHP_DETECT_PCIE   (0)

Definition at line 33 of file pciehp_acpi.c.

Function Documentation

module_param ( pciehp_detect_mode  ,
charp  ,
0444   
)
MODULE_PARM_DESC ( pciehp_detect_mode  ,
"Slot detection mode:  pcie,
acpi  ,
auto\n""pcie-Use PCIe based slot detection\n""acpi-Use ACPI for slot detection\n""auto(default)-Auto select mode.Use acpi option if duplicate\n""slot ids are found.  Otherwise,
use pcie option\n  
)
int pciehp_acpi_slot_detection_check ( struct pci_dev dev)

Definition at line 53 of file pciehp_acpi.c.

void __init pciehp_acpi_slot_detection_init ( void  )

Definition at line 127 of file pciehp_acpi.c.