[PATCH] ARM: i.MX6Q: Add fixup for RTL8211E Gigabit Ethernet PHY

Arnd Bergmann arnd at arndb.de
Wed Mar 4 13:31:34 PST 2015


On Wednesday 04 March 2015 23:32:38 Панов Андрей wrote:
> 04.03.2015, 23:18, "Fabio Estevam" <festevam at gmail.com>:
> > On Wed, Mar 4, 2015 at 5:05 PM, Панов Андрей <rockford at yandex.ru> wrote:
> >>  Actually, I don't know. I've discovered this when I wanted to boot a more recent kernel
> >>  on this board, and network wasn't working. So I've had to disassembly a vendor's binary only module
> >>  to discover how they handle this situation.
> >
> > Do you use the generic PHY driver or do you have CONFIG_REALTEK_PHY enabled?
> 
> CONFIG_REALTEK_PHY=y
> CONFIG_FIXED_PHY=y
> 
> > In case you use the realtek PHY driver and still see the issue, can't
> > you fix this in drivers/net/phy/realtek.c instead?
> 
> I think there it will require a more work with board detection than here and will
> populate a driver with unnecessary for most users code.

But you said earlier that it's board independent and a property of the SoC
instead. Can't the ethernet driver call phy_start_aneg() for the same effect,
like a lot of other ethernet drivers do?

	Arnd



More information about the linux-arm-kernel mailing list