[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZQg2AxAIxkadOiIr@makrotopia.org>
Date: Mon, 18 Sep 2023 12:35:31 +0100
From: Daniel Golle <daniel@...rotopia.org>
To: Lorenzo Bianconi <lorenzo@...nel.org>
Cc: netdev@...r.kernel.org, lorenzo.bianconi@...hat.com, nbd@....name,
john@...ozen.org, sean.wang@...iatek.com, Mark-MC.Lee@...iatek.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, linux-mediatek@...ts.infradead.org,
sujuan.chen@...iatek.com, horms@...nel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v2 net-next 09/17] net: ethernet: mtk_wed: fix
EXT_INT_STATUS_RX_FBUF definitions for MT7986 SoC
On Mon, Sep 18, 2023 at 12:29:11PM +0200, Lorenzo Bianconi wrote:
> Fix MTK_WED_EXT_INT_STATUS_RX_FBUF_LO_TH and
> MTK_WED_EXT_INT_STATUS_RX_FBUF_HI_TH definitions for MT7986 (MT7986 is
> the only SoC to use them).
Afaik this applies also to MT7981 which is very similar to MT7986.
>
> Fixes: de84a090d99a ("net: ethernet: mtk_eth_wed: add wed support for mt7986 chipset")
> Signed-off-by: Lorenzo Bianconi <lorenzo@...nel.org>
> ---
> drivers/net/ethernet/mediatek/mtk_wed_regs.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/mediatek/mtk_wed_regs.h b/drivers/net/ethernet/mediatek/mtk_wed_regs.h
> index 47ea69feb3b2..f87ab9b8a590 100644
> --- a/drivers/net/ethernet/mediatek/mtk_wed_regs.h
> +++ b/drivers/net/ethernet/mediatek/mtk_wed_regs.h
> @@ -64,8 +64,8 @@ struct mtk_wdma_desc {
> #define MTK_WED_EXT_INT_STATUS_TKID_TITO_INVALID BIT(4)
> #define MTK_WED_EXT_INT_STATUS_TX_FBUF_LO_TH BIT(8)
> #define MTK_WED_EXT_INT_STATUS_TX_FBUF_HI_TH BIT(9)
> -#define MTK_WED_EXT_INT_STATUS_RX_FBUF_LO_TH BIT(12)
> -#define MTK_WED_EXT_INT_STATUS_RX_FBUF_HI_TH BIT(13)
> +#define MTK_WED_EXT_INT_STATUS_RX_FBUF_LO_TH BIT(10) /* wed v2 */
> +#define MTK_WED_EXT_INT_STATUS_RX_FBUF_HI_TH BIT(11) /* wed v2 */
> #define MTK_WED_EXT_INT_STATUS_RX_DRV_R_RESP_ERR BIT(16)
> #define MTK_WED_EXT_INT_STATUS_RX_DRV_W_RESP_ERR BIT(17)
> #define MTK_WED_EXT_INT_STATUS_RX_DRV_COHERENT BIT(18)
> --
> 2.41.0
>
>
Powered by blists - more mailing lists