__pci_register_driver

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

__pci_register_driver - register a new pci driver

SYNOPSIS

int __pci_register_driver(struct pci_driver * drv, struct module * owner, const char * mod_name);

ARGUMENTS

drv

the driver structure to register

owner

owner module of drv

mod_name

module name string

DESCRIPTION

Adds the driver structure to the list of registered drivers. Returns a negative value on error, otherwise 0. If no error occurred, the driver remains registered even if no device was claimed during registration.