Re: [RESEND PATCH net 1/1] net: stmmac: check fwnode for phy device before scanning for phy

From: Sit, Michael Wei Hong
Date: Thu Apr 06 2023 - 10:43:01 EST




> On 6 Apr 2023, at 10:30 PM, Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Thu, 6 Apr 2023 10:45:41 +0800 Michael Sit Wei Hong wrote:
>> Some DT devices already have phy device configured in the DT/ACPI.
>> Current implementation scans for a phy unconditionally even though
>> there is a phy listed in the DT/ACPI and already attached.
>>
>> We should check the fwnode if there is any phy device listed in
>> fwnode and decide whether to scan for a phy to attach to.
>
> Why did you resend this?
Fix a minor typo in commit message and also added the tags