Linux Kernel
3.7.1
|
#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) |
#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.
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" | |||
) |
Definition at line 53 of file pciehp_acpi.c.
Definition at line 127 of file pciehp_acpi.c.