1. NAME▲

driver_attach - try to bind driver to devices.

2. SYNOPSIS ▲

int driver_attach(struct device_driver *  drv );

3. ARGUMENTS ▲

drv
    driver.

4. DESCRIPTION ▲

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

5. COPYRIGHT ▲