1__PCI_HP_REGISTER(9) Hardware Interfaces __PCI_HP_REGISTER(9)
2
3
4
6 __pci_hp_register - register a hotplug_slot with the PCI hotplug
7 subsystem
8
10 int __pci_hp_register(struct hotplug_slot * slot, struct pci_bus * bus,
11 int devnr, const char * name,
12 struct module * owner, const char * mod_name);
13
15 slot
16 pointer to the struct hotplug_slot to register
17
18 bus
19 bus this slot is on
20
21 devnr
22 device number
23
24 name
25 name registered with kobject core
26
27 owner
28 caller module owner
29
30 mod_name
31 caller module name
32
34 Registers a hotplug slot with the pci hotplug subsystem, which will
35 allow userspace interaction to the slot.
36
37 Returns 0 if successful, anything else for an error.
38
40Kernel Hackers Manual 2.6. June 2019 __PCI_HP_REGISTER(9)