Thread (12 messages) 12 messages, 4 authors, 2023-02-21

Re: [PATCH net-next v3 5/6] net: stmmac: add support for RZ/N1 GMAC

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2023-02-21 14:52:13
Also in: linux-arm-kernel, linux-devicetree, linux-renesas-soc, lkml

Hi Clément,

On Thu, Feb 9, 2023 at 4:14 PM Clément Léger [off-list ref] wrote:
Add support for Renesas RZ/N1 GMAC. This support uses a custom PCS (MIIC)
which is handle by parsing the pcs-handle device tree property.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Thanks for your patch!
quoted hunk ↗ jump to hunk
--- /dev/null
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c
+static int rzn1_dwmac_remove(struct platform_device *pdev)
+{
+       struct rzn1_dwmac *dwmac = get_stmmac_bsp_priv(&pdev->dev);
+       int ret = stmmac_dvr_remove(&pdev->dev);
This needs an update for commit ff0011cf56014b4d ("net: stmmac: Make
stmmac_dvr_remove() return void") in net-next/master.
+
+       if (dwmac->pcs)
+               miic_destroy(dwmac->pcs);
+
+       return ret;
+}
Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help