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

Yegor Yefremov yegorslists at googlemail.com
Wed Nov 28 11:17:01 CET 2012


On Tue, Nov 27, 2012 at 7:55 AM, Yegor Yefremov
<yegorslists at googlemail.com> wrote:
> 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.

I've sent a patch series: first patch is exporting the
genphy_parse_link() the second is adding ICPlus driver.

Yegor


More information about the U-Boot mailing list