pci_hp_register

Langue: en

Autres versions - même langue

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem

SYNOPSIS

int pci_hp_register(struct hotplug_slot * slot, struct pci_bus * bus, int slot_nr, const char * name);

ARGUMENTS

slot

pointer to the struct hotplug_slot to register

bus

bus this slot is on

slot_nr

slot number

name

name registered with kobject core

DESCRIPTION

Registers a hotplug slot with the pci hotplug subsystem, which will allow userspace interaction to the slot.

Returns 0 if successful, anything else for an error.