On Mon, Sep 21, 2020 at 07:07:21PM +0200, Andrew Lunn wrote:
> On Mon, Sep 21, 2020 at 07:20:31PM +0300, Ioana Ciornei wrote:
> > +static void dpaa2_pcs_destroy(struct dpaa2_mac *mac)
> > +{
> > + struct lynx_pcs *pcs = mac->pcs;
> > +
> > + if (pcs) {
> > + put_device(&pcs->mdio->dev
On Mon, Sep 21, 2020 at 07:20:31PM +0300, Ioana Ciornei wrote:
> +static void dpaa2_pcs_destroy(struct dpaa2_mac *mac)
> +{
> + struct lynx_pcs *pcs = mac->pcs;
> +
> + if (pcs) {
> + put_device(&pcs->mdio->dev);
> + lynx_pcs_destroy(pcs);
> + mac->pcs =
Include PCS support in the dpaa2-eth driver by integrating it with the
new Lynx PCS module. There is not much to talk about in terms of changes
needed in the dpaa2-eth driver since the only steps necessary are to
find the MDIO device representing the PCS, register it to the Lynx PCS
module and then