Re: Is there a way to force probe to be called (etherned driver) ?

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

 



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#L4219

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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux