Re: [PATCH v2 1/1] net: axienet: Move reset before DMA detection

From: Andrew Lunn
Date: Thu Jun 22 2023 - 15:18:33 EST


> + /* Reset core now that clocks are enabled, prior to accessing MDIO */
> + ret = __axienet_device_reset(lp);
> + if (ret)
> + goto cleanup_clk;
> +
> /* Autodetect the need for 64-bit DMA pointers.

I would say the comment is now not fully correct. It probably should
be extended to include 64 bit DMA.

Andrew