[PATCH v3 10/12] net: dsa: add support for SJA11xx switches

Sascha Hauer sha at pengutronix.de
Thu Apr 7 07:04:23 PDT 2022


On Thu, Apr 07, 2022 at 11:16:02AM +0200, Oleksij Rempel wrote:
> Port SJA11xx driver from u-boot v2022.04-rc2 to provide support for NXP SJA11xx
> series of switches.
> 
> Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
> ---
>  drivers/net/Kconfig   |   17 +
>  drivers/net/Makefile  |    1 +
>  drivers/net/sja1105.c | 3000 +++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 3018 insertions(+)
>  create mode 100644 drivers/net/sja1105.c
> 

[...]

> +	ds->ops = &sja1105_dsa_ops;
> +	ds->needed_headroom = VLAN_HLEN;
> +
> +	dsa_register_switch(ds);

See my review for v1.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list