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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux