Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

__pci_register_driver(9) [suse man page]

__PCI_REGISTER_DRIVE(9) 					Hardware Interfaces					   __PCI_REGISTER_DRIVE(9)

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. COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 __PCI_REGISTER_DRIVE(9)

Check Out this Related Man Page

STRUCT 
USB_DEVICE_DR(9) Host-Side Data Types and Macro STRUCT USB_DEVICE_DR(9) NAME
struct_usb_device_driver - identifies USB device driver to usbcore SYNOPSIS
struct usb_device_driver { const char * name; int (* probe) (struct usb_device *udev); void (* disconnect) (struct usb_device *udev); int (* suspend) (struct usb_device *udev, pm_message_t message); int (* resume) (struct usb_device *udev, pm_message_t message); struct usbdrv_wrap drvwrap; unsigned int supports_autosuspend:1; }; MEMBERS
name The driver name should be unique among USB drivers, and should normally be the same as the module name. probe Called to see if the driver is willing to manage a particular device. If it is, probe returns zero and uses dev_set_drvdata to associate driver-specific data with the device. If unwilling to manage the device, return a negative errno value. disconnect Called when the device is no longer accessible, usually because it has been (or is being) disconnected or the driver's module is being unloaded. suspend Called when the device is going to be suspended by the system. resume Called when the device is being resumed by the system. drvwrap Driver-model core structure wrapper. supports_autosuspend if set to 0, the USB core will not allow autosuspend for devices bound to this driver. DESCRIPTION
USB drivers must provide all the fields listed above except drvwrap. COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STRUCT USB_DEVICE_DR(9)
Man Page