DRIVER_ATTACH

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

driver_attach - try to bind driver to devices.  

SYNOPSIS

"SYNOPSIS"

void driver_attach (struct device_driver * drv);  

ARGUMENTS

drv
driver.
 

DESCRIPTION

Walk the list of devices that the bus has on it and try to match the driver with each one. If bus_match returns 0 and the dev->driver is set, we've found a compatible pair.

Note that we ignore the -ENODEV error from bus_match, since it's perfectly valid for a driver not to bind to any devices.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 06:20:45 GMT, October 06, 2005