Rechercher une page de manuel
pci_add_dynid
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
pci_add_dynid - add a new PCI device ID to this driver and re-probe devicesSYNOPSIS
- 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);
ARGUMENTS
drv
- target pci driver
vendor
- PCI vendor ID
device
- PCI device ID
subvendor
- PCI subvendor ID
subdevice
- PCI subdevice ID
class
- PCI class
class_mask
- PCI class mask
driver_data
- private driver data
DESCRIPTION
Adds a new dynamic pci device ID to this driver and causes the driver to probe for all devices again. drv must have been registered prior to calling this function.
CONTEXT
Does GFP_KERNEL allocation.
RETURNS
0 on success, -errno on failure.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre