Added support for REALTEK chips.
Realtek behaves like Marvell so if the chip is found to be a Realtek (0x001c) then we replace the id as Marvell. This has been tested on a Zybo board with a Realtek RTL8211E. Everything seems to work fine, including speed autonegotiation. The LWIP echo server passes without the need to set the speed fixed to 1000 mbps as suggested in the Digilente website.
Hi,
Thanks for the patch. I think it will be better to check for (phy identifier == marvell) || (phy identifier == realtek) instead of replacing the identifier value. I will make these changes and merge it into our next public release.
Regards, Harini
Hi,
I've modified this patch to add a check for realtek and duplicate realtek autoneg function (omitting Marvell specific register writes in a couple of places). I'm merging it on our next version. I noticed that your commit does not have a Signed-off by line. Could you please provide one?
Regards, Harini