'\" t .\" Title: pci_add_dynid .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "PCI_ADD_DYNID" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pci_add_dynid \- add a new PCI device ID to this driver and re\-probe devices .SH "SYNOPSIS" .HP \w'int\ pci_add_dynid('u .BI "int pci_add_dynid(struct\ pci_driver\ *\ " "drv" ", unsigned\ int\ " "vendor" ", unsigned\ int\ " "device" ", unsigned\ int\ " "subvendor" ", unsigned\ int\ " "subdevice" ", unsigned\ int\ " "class" ", unsigned\ int\ " "class_mask" ", unsigned\ long\ " "driver_data" ");" .SH "ARGUMENTS" .PP \fIstruct pci_driver * drv\fR .RS 4 target pci driver .RE .PP \fIunsigned int vendor\fR .RS 4 PCI vendor ID .RE .PP \fIunsigned int device\fR .RS 4 PCI device ID .RE .PP \fIunsigned int subvendor\fR .RS 4 PCI subvendor ID .RE .PP \fIunsigned int subdevice\fR .RS 4 PCI subdevice ID .RE .PP \fIunsigned int class\fR .RS 4 PCI class .RE .PP \fIunsigned int class_mask\fR .RS 4 PCI class mask .RE .PP \fIunsigned long driver_data\fR .RS 4 private driver data .RE .SH "DESCRIPTION" .PP Adds a new dynamic pci device ID to this driver and causes the driver to probe for all devices again\&. \fIdrv\fR must have been registered prior to calling this function\&. .SH "CONTEXT" .PP Does GFP_KERNEL allocation\&. .SH "RETURN" .PP 0 on success, \-errno on failure\&. .SH "COPYRIGHT" .br