> +static int dsa_slave_nway_reset(struct net_device *dev)
> +{
> +     struct dsa_port *dp = dsa_slave_to_port(dev);
> +
> +     return phylink_ethtool_nway_reset(dp->pl);
> +}

Hi Florian

I've seen in one of Russells trees a patch to put a phylink into
net_device. That would make a generic slave_nway_reset() possible, and
a few others as well. Maybe it makes sense to pull in that patch?

  Andrew

Reply via email to