Driver core binding device to driver and Udev loading driver module-difference?
Hi,
When a device was probed and found to be attached in the system, device will be registered driver core and the kobject will be registered by the kobject core (for example PCI driver core) an hotplug event will be generated leading to the invocation of /sbin/hotplug script which in turn invokes script like Udev which loads the appropriate driver module for the device attached, with the information supplied through the environment variables.
Also after hotplug event was generated the driver core will lead to sequence of calls to matching and probing functions to find the appropriate driver and finally binds the device to the matching driver.
My doubt is what is the difference between the loading of driver module by Udev and binding of device to the matching driver done by driver core?
Please reply.
|