|
Linux Kernel
3.7.1
|
#include <linux/init.h>#include <linux/module.h>#include <linux/pci.h>#include <linux/string.h>#include <linux/vmalloc.h>#include <asm/pci-bridge.h>#include <linux/mutex.h>#include <asm/rtas.h>#include <asm/vio.h>#include "../pci.h"#include "rpaphp.h"#include "rpadlpar.h"Go to the source code of this file.
Macros | |
| #define | DLPAR_MODULE_NAME "rpadlpar_io" |
| #define | NODE_TYPE_VIO 1 |
| #define | NODE_TYPE_SLOT 2 |
| #define | NODE_TYPE_PHB 3 |
Functions | |
| int | dlpar_add_slot (char *drc_name) |
| int | dlpar_remove_pci_slot (char *drc_name, struct device_node *dn) |
| int | dlpar_remove_slot (char *drc_name) |
| int __init | rpadlpar_io_init (void) |
| void | rpadlpar_io_exit (void) |
| module_init (rpadlpar_io_init) | |
| module_exit (rpadlpar_io_exit) | |
| MODULE_LICENSE ("GPL") | |
| #define DLPAR_MODULE_NAME "rpadlpar_io" |
Definition at line 37 of file rpadlpar_core.c.
| #define NODE_TYPE_PHB 3 |
Definition at line 41 of file rpadlpar_core.c.
| #define NODE_TYPE_SLOT 2 |
Definition at line 40 of file rpadlpar_core.c.
| #define NODE_TYPE_VIO 1 |
Definition at line 39 of file rpadlpar_core.c.
dlpar_add_slot - DLPAR add an I/O Slot : drc-name of newly added slot
Make the hotplug module and the kernel aware of a newly added I/O Slot. Return Codes: 0 Success -ENODEV Not a valid drc_name -EINVAL Slot already added -ERESTARTSYS Signalled before obtaining lock -EIO Internal PCI Error
Definition at line 286 of file rpadlpar_core.c.
| int dlpar_remove_pci_slot | ( | char * | drc_name, |
| struct device_node * | dn | ||
| ) |
dlpar_remove_pci_slot - DLPAR remove a PCI I/O Slot : drc-name of newly added slot : &device_node
Remove the kernel and hotplug representations of a PCI I/O Slot. Return Codes: 0 Success -ENODEV Not a valid drc_name -EIO Internal PCI Error
Definition at line 353 of file rpadlpar_core.c.
dlpar_remove_slot - DLPAR remove an I/O Slot : drc-name of newly added slot
Remove the kernel and hotplug representations of an I/O Slot. Return Codes: 0 Success -ENODEV Not a valid drc_name -EINVAL Slot already removed -ERESTARTSYS Signalled before obtaining lock -EIO Internal Error
Definition at line 409 of file rpadlpar_core.c.
| module_exit | ( | rpadlpar_io_exit | ) |
| module_init | ( | rpadlpar_io_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
Definition at line 464 of file rpadlpar_core.c.
Definition at line 450 of file rpadlpar_core.c.
1.8.2