Name

device_attach — try to attach device to a driver.

Synopsis

int device_attach (struct device * dev);

Arguments

dev

device.

Description

Walk the list of drivers that the bus has and call driver_probe_device for each pair. If a compatible pair is found, break out and return.