Florian Fainelli writes:
> On 06/06/2017 11:09 AM, Vivien Didelot wrote:
>> Florian Fainelli writes:
>>
>>> - phy_mode = of_get_phy_mode(ds->dst->cpu_dp->dn);
>>> + phy_mode = of_get_phy_mode(ds->ports[QCA8K_CPU_PORT].dn);
>>
>> Is it necessary to use QCA8K_CPU_PORT?
>>
>>> +static inline
On 06/06/2017 11:09 AM, Vivien Didelot wrote:
> Florian Fainelli writes:
>
>> -phy_mode = of_get_phy_mode(ds->dst->cpu_dp->dn);
>> +phy_mode = of_get_phy_mode(ds->ports[QCA8K_CPU_PORT].dn);
>
> Is it necessary to use QCA8K_CPU_PORT?
>
>> +static inline struct dsa_port *dsa_ds_get_cpu_dp
Florian Fainelli writes:
> - phy_mode = of_get_phy_mode(ds->dst->cpu_dp->dn);
> + phy_mode = of_get_phy_mode(ds->ports[QCA8K_CPU_PORT].dn);
Is it necessary to use QCA8K_CPU_PORT?
> +static inline struct dsa_port *dsa_ds_get_cpu_dp(struct dsa_switch *ds)
> +{
> + return &ds->ports[fl