Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rpadlpar.h File Reference

Go to the source code of this file.

Functions

int dlpar_sysfs_init (void)
 
void dlpar_sysfs_exit (void)
 
int dlpar_add_slot (char *drc_name)
 
int dlpar_remove_slot (char *drc_name)
 

Function Documentation

int dlpar_add_slot ( char drc_name)

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_slot ( char drc_name)

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.

void dlpar_sysfs_exit ( void  )

Definition at line 126 of file rpadlpar_sysfs.c.

int dlpar_sysfs_init ( void  )

Definition at line 111 of file rpadlpar_sysfs.c.