Messages in this thread |  | | Date | Sun, 12 May 2024 09:35:18 +0100 | | From | Simon Horman <> | | Subject | Re: [PATCH v2, net-next, 2/2] net: stmmac: PCI driver for BCM8958X SoC |
| |
On Fri, May 10, 2024 at 06:59:24PM -0700, Jitendra Vegiraju wrote: > Broadcom BCM8958X SoCs use Synopsys XGMAC design, which is similar to > dwxgmac2 core implementation in stmmac driver. The existing dwxgmac2 dma > operation functions have some conflicting differences with BCM8958X. > This glue driver attempts to reuse dwxgmac2 implementation wherever > possible, adding alternative implementations where necessary. > > v2: code cleanup to address patchwork reports. > > Signed-off-by: Jitendra Vegiraju <jitendra.vegiraju@broadcom.com>
..
> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-brcm.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-brcm.c
..
> +static struct mac_device_info *dwxgmac_brcm_setup(void *ppriv) > +{ > + struct mac_device_info *mac; > + struct stmmac_priv *priv = ppriv;
Hi, Jitendra,
A minor nit from my side.
Please consider using reverse xmas tree order - longest line to shortest - for new Networking code.
This tool can be of assistance: https://github.com/ecree-solarflare/xmastree
..
|  |