Hi, Ran, Do you define the probe as a member is a platform_driver object ? See for example, http://lxr.free-electrons.com/source/drivers/net/ethernet/marvell/mvneta.c#L... In this case, maybe something is missing/wrong in platform_device_register(); or do you use a platfom_driver object ? http://lxr.free-electrons.com/source/include/linux/platform_device.h#L180 In this case, maybe something is missing/wrong in platform_driver_register(). Regards, Rami Rosen http://ramirose.wix.com/ramirosen In case you do, probably something is missing in your platform_device_register() method (which may be in arch/arm/plat-...) On 24 July 2016 at 11:51, Ran Shalit <ranshalit@gmail.com> wrote:
Hello,
I write ethernet driver (mac controller is implemented in fpga connected to cpu)
I see that the probe is not called on doing insmod.
Is there a way to force the probe to be called on doing insmod ?
I could not find in the board file (omap dart, kernel 3.4.0) any reference to ethernet.
Best Regards,
Ran
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies