1PCI_ADD_DYNID(9)              Hardware Interfaces             PCI_ADD_DYNID(9)
2
3
4

NAME

6       pci_add_dynid - add a new PCI device ID to this driver and re-probe
7       devices
8

SYNOPSIS

10       int pci_add_dynid(struct pci_driver * drv, unsigned int vendor,
11                         unsigned int device, unsigned int subvendor,
12                         unsigned int subdevice, unsigned int class,
13                         unsigned int class_mask, unsigned long driver_data);
14

ARGUMENTS

16       drv
17           target pci driver
18
19       vendor
20           PCI vendor ID
21
22       device
23           PCI device ID
24
25       subvendor
26           PCI subvendor ID
27
28       subdevice
29           PCI subdevice ID
30
31       class
32           PCI class
33
34       class_mask
35           PCI class mask
36
37       driver_data
38           private driver data
39

DESCRIPTION

41       Adds a new dynamic pci device ID to this driver and causes the driver
42       to probe for all devices again.  drv must have been registered prior to
43       calling this function.
44

CONTEXT

46       Does GFP_KERNEL allocation.
47

RETURNS

49       0 on success, -errno on failure.
50
52Kernel Hackers Manual 2.6.       November 2011                PCI_ADD_DYNID(9)
Impressum