.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "DRIVER_ATTACH" "9" "09 October 2005" "" ""
.SH NAME
driver_attach \- try to bind driver to devices.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void driver_attach (struct device_driver * \fIdrv\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdrv\fB\fR
driver.
.SH "DESCRIPTION"
.PP
Walk the list of devices that the bus has on it and try to
match the driver with each one. If \fBdriver_probe_device\fR
returns 0 and the \fIdev\fR->driver is set, we've found a
compatible pair.