RE: [PATCH net-next v4 2/5] net: stmmac: introducing support for DWC xPCS logics

From: Jose Abreu
Date: Wed May 29 2019 - 06:23:20 EST


From: Voon Weifeng <weifeng.voon@xxxxxxxxx>
Date: Wed, May 29, 2019 at 17:58:24

> +/* Helpers for DW xPCS */
> +struct stmmac_xpcs {
> + void (*xpcs_init)(struct net_device *ndev, int pcs_mode);
> + void (*xpcs_ctrl_ane)(struct net_device *ndev, bool ane, bool loopback);
> + void (*xpcs_get_adv_lp)(struct net_device *ndev, struct rgmii_adv *adv,
> + int pcs_mode);
> + int (*xpcs_irq_status)(struct net_device *ndev,
> + struct stmmac_extra_stats *x, int pcs_mode);
> +};

Please rename the structure to stmmac_xpcs_ops, to keep consistency with
other helpers.

Thanks,
Jose Miguel Abreu