Re: [PATCH RFC 2/4] net: phy: allow to bind genphy driver at probe time

2019-08-14 Thread Florian Fainelli
On 8/13/19 4:02 PM, Heiner Kallweit wrote: > On 14.08.2019 00:53, Florian Fainelli wrote: >> On 8/13/19 2:25 PM, Heiner Kallweit wrote: >>> In cases like a fixed phy that is never attached to a net_device we >>> may want to bind the genphy driver at probe time. Setting a PHY ID of >>> 0x to

Re: [PATCH RFC 2/4] net: phy: allow to bind genphy driver at probe time

2019-08-13 Thread Heiner Kallweit
On 14.08.2019 00:53, Florian Fainelli wrote: > On 8/13/19 2:25 PM, Heiner Kallweit wrote: >> In cases like a fixed phy that is never attached to a net_device we >> may want to bind the genphy driver at probe time. Setting a PHY ID of >> 0x to bind the genphy driver would fail due to a check

Re: [PATCH RFC 2/4] net: phy: allow to bind genphy driver at probe time

2019-08-13 Thread Florian Fainelli
On 8/13/19 2:25 PM, Heiner Kallweit wrote: > In cases like a fixed phy that is never attached to a net_device we > may want to bind the genphy driver at probe time. Setting a PHY ID of > 0x to bind the genphy driver would fail due to a check in > get_phy_device(). Therefore let's change the

[PATCH RFC 2/4] net: phy: allow to bind genphy driver at probe time

2019-08-13 Thread Heiner Kallweit
In cases like a fixed phy that is never attached to a net_device we may want to bind the genphy driver at probe time. Setting a PHY ID of 0x to bind the genphy driver would fail due to a check in get_phy_device(). Therefore let's change the PHY ID the genphy driver binds to to 0xfffe. T