How does the driver initialize corresponding with several same devices ?

Li Haifeng omycle at gmail.com
Wed Apr 18 05:16:01 EDT 2012


I make a driver module and built in the kernel. There are three devices use
the same driver on the hardware platform. To use each device, the probe
function of the driver module should be probed. So, the driver module is
registered in the kernel.

My question is, how times should the probe function of the driver be called
and create nodes in devfs to corresponding with the three devices?



More information about the Kernelnewbies mailing list