Messages in this thread | | | Date | Wed, 18 Apr 2012 17:08:07 +0800 | Subject | How does the driver initialize corresponding with several same devices ? | From | Li Haifeng <> |
| |
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? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |