Re: [PATCH 2/2] net: stmmac: Add StarFive JH8100 dwmac support

From: Krzysztof Kozlowski
Date: Mon Jan 08 2024 - 04:07:55 EST


On 08/01/2024 08:58, Tan Chun Hau wrote:
> Add JH8100 dwmac support.
>
> Signed-off-by: Tan Chun Hau <chunhau.tan@xxxxxxxxxxxxxxxx>
> ---
> drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c
> index 5d630affb4d1..373714f6e382 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c
> @@ -146,6 +146,7 @@ static int starfive_dwmac_probe(struct platform_device *pdev)
>
> static const struct of_device_id starfive_dwmac_match[] = {
> { .compatible = "starfive,jh7110-dwmac" },
> + { .compatible = "starfive,jh8100-dwmac" },

No differences? Then why aren't the devices made compatible with each other?

Best regards,
Krzysztof