Re: Help initialize phy-less ethernet in 2.6.38
From: Fabio <hidden>
Date: 2012-04-03 11:05:22
So it's old arch/ppc stuff. =C2=A0Now fs_platform_info is driver-internal=
and
info comes from the device tree. =C2=A0You shouldn't touch the struct dir=
ectly. Now I moved all the initialization functions to the platform driver in arch/powerpc/platform/82xx and the external ethernet on FCC2 still works, so at least it seems that the problem is related to the fixed-link initialization of FCC1.
quoted
quoted
Looking at the code, though, I'm not sure if this stuff still works -- e.g. I don't see where any fields of fixed-link but the ID are used, or what's supposed to happen when of_phy_connect_fixed_link() calls phy_connect().
The fixed-link fields are used inside arch/powerpc/sysdev/fsl_soc.c in the function of_add_fixed_phys. I'm trying to understand what I am missing to configure or initialize to get the same behaviour as in the old kernel but I failed to do so until now. If you have any suggestion it will be of great help for me. Thanks in advance --=20 Fabio Pozzi