Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
eeh_dev.c File Reference
#include <linux/export.h>
#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/string.h>
#include <asm/pci-bridge.h>
#include <asm/ppc-pci.h>

Go to the source code of this file.

Functions

void *__devinit eeh_dev_init (struct device_node *dn, void *data)
 
void __devinit eeh_dev_phb_init_dynamic (struct pci_controller *phb)
 
 core_initcall (eeh_dev_phb_init)
 

Function Documentation

core_initcall ( eeh_dev_phb_init  )
void* __devinit eeh_dev_init ( struct device_node dn,
void data 
)

eeh_dev_init - Create EEH device according to OF node : device node : PHB

It will create EEH device according to the given OF node. The function might be called by PCI emunation, DR, PHB hotplug.

Definition at line 52 of file eeh_dev.c.

void __devinit eeh_dev_phb_init_dynamic ( struct pci_controller phb)

eeh_dev_phb_init_dynamic - Create EEH devices for devices included in PHB : PHB

Scan the PHB OF node and its child association, then create the EEH devices accordingly

Definition at line 80 of file eeh_dev.c.