Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rpaphp_pci.c File Reference
#include <linux/pci.h>
#include <linux/string.h>
#include <asm/pci-bridge.h>
#include <asm/rtas.h>
#include <asm/machdep.h>
#include "../pci.h"
#include "rpaphp.h"

Go to the source code of this file.

Functions

int rpaphp_get_sensor_state (struct slot *slot, int *state)
 
int rpaphp_enable_slot (struct slot *slot)
 

Function Documentation

int rpaphp_enable_slot ( struct slot slot)

rpaphp_enable_slot - record slot state, config pci device : target &slot

Initialize values in the slot, and the hotplug_slot info structures to indicate if there is a pci card plugged into the slot. If the slot is not empty, run the pcibios routine to get pcibios stuff correctly set up.

Definition at line 76 of file rpaphp_pci.c.

int rpaphp_get_sensor_state ( struct slot slot,
int state 
)

Definition at line 35 of file rpaphp_pci.c.