Lambrecht Jürgen <J.Lambrecht@xxxxxxxxxxx> : > On 09/08/2011 12:13 PM, Francois Romieu wrote: [...] > > Which driver(s) do you use that you can not set phy_mask directly ? > > > The HW driver is 'FEC' for iMX Ethernet. For the PHY, just MII and PHYLIB. > I am rather new to linux, didn't knew phy_mask. Checked it now, and is > not set in fec.c. > You mean then to patch drivers/net/fec.c in the same way (as my current > patch) to set the phy_mask instead (via menuconfig, or in the platform > init)? It is not my area but I would have drivers/net/fec.c::fec_devtype.driver_data point to a real struct where the relevant phy_mask and the current quirks are stored, then add a new entry in fec_devtype and a reference to it (Kconfig + platform init) somewhere below arch/arm/plat-mxc. Freescale's application note suggests that the MX25 fec allows some freedom for the implementation of the media interface. So it may not be overkill. -- Ueimor -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html