在 2019/1/17 20:41, Andrew Lunn 写道:
> On Thu, Jan 17, 2019 at 10:58:07AM +0800, shenjian (K) wrote:
>>
>>
>> 在 2019/1/17 0:04, Andrew Lunn 写道:
>>>> Thanks, Andrew.
>>>>
>>>> But we are using acpi mode, is there any ohter way to poke values into
>>>> registers ?
>>>
>>> You can register a PHY fixup.
>>>
>>> phy_register_fixup_for_uid(), mach-orion5x/dns323-setup.c
>>>
>>> Andrew
>>>
>>> .
>>>
>> Thanks Andrew!
>>
>> I have tried phy_register_fixup_for_uid(), but it doesn't work .
>
> Sorry for the brief reply.
>
> Look closer at mach-orion5x/dns323-setup.c
>
> Andrew
>
> .
>
Do you mean I can define a specified dev_flags, and set the default led value
to I wante, based on the flag in config_init() ?
Thanks!