How does the driver initialize corresponding with several same devices ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?

Kernelnewbies mailing list

[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux