Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
portdrv_pci.c File Reference
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/pm.h>
#include <linux/pm_runtime.h>
#include <linux/init.h>
#include <linux/pcieport_if.h>
#include <linux/aer.h>
#include <linux/dmi.h>
#include <linux/pci-aspm.h>
#include "portdrv.h"
#include "aer/aerdrv.h"

Go to the source code of this file.

Macros

#define DRIVER_VERSION   "v1.0"
 
#define DRIVER_AUTHOR   "[email protected]"
 
#define DRIVER_DESC   "PCIe Port Bus Driver"
 
#define PCIE_PORTDRV_PM_OPS   NULL
 

Functions

 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL")
 
 __setup ("pcie_ports=", pcie_port_setup)
 
void pcie_clear_root_pme_status (struct pci_dev *dev)
 
 MODULE_DEVICE_TABLE (pci, port_pci_ids)
 
 module_init (pcie_portdrv_init)
 

Variables

bool pcie_ports_disabled
 
bool pcie_ports_auto = true
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "[email protected]"

Definition at line 28 of file portdrv_pci.c.

#define DRIVER_DESC   "PCIe Port Bus Driver"

Definition at line 29 of file portdrv_pci.c.

#define DRIVER_VERSION   "v1.0"

Definition at line 27 of file portdrv_pci.c.

#define PCIE_PORTDRV_PM_OPS   NULL

Definition at line 166 of file portdrv_pci.c.

Function Documentation

__setup ( )
MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( pci  ,
port_pci_ids   
)
module_init ( pcie_portdrv_init  )
MODULE_LICENSE ( "GPL"  )
void pcie_clear_root_pme_status ( struct pci_dev dev)

pcie_clear_root_pme_status - Clear root port PME interrupt status. : PCIe root port or event collector.

Definition at line 65 of file portdrv_pci.c.

Variable Documentation

bool pcie_ports_auto = true

Definition at line 41 of file portdrv_pci.c.

bool pcie_ports_disabled

Definition at line 35 of file portdrv_pci.c.