[U-Boot] [RFC] export genphy_parse_link()

Yegor Yefremov yegorslists at googlemail.com
Tue Nov 27 07:55:09 CET 2012


On Tue, Nov 27, 2012 at 3:57 AM, Marek Vasut <marex at denx.de> wrote:
> Dear Yegor Yefremov,
>
>> I'm porting a phy driver from Linux to u-boot and was able to use
>> genphy_parse_link() without a problem. As mentioned in comment to
>> genphy_parse_link(), the routine itself was taken from Linux kernel
>> and many phy drivers are using this generic function.
>>
>> Why wasn't it exported? Are there any issues?
>
> Ccing Joe ... do you have any consumer for this now exported function?

Yes, I'm about to submit a phy driver for ICPlus phy and need this
export. I tested it with both 100mbit and 1Gbit switches. In both
cases phy reported the correct speed.

Yegor


More information about the U-Boot mailing list