From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Oltean Date: Sun, 15 Dec 2019 22:52:59 +0200 Subject: [PATCH 0/3] DM DSA driver for NXP SJA1105 Ethernet switch Message-ID: <20191215205302.13325-1-olteanv@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This is a driver for the SJA1105 automotive L2 switch. It uses the DSA uclass proposed by Alex Marginean (but not yet merged) here [0]. This is convenient because with this framework, the switch acts as a 4-port Ethernet multiplexer capable of TFTP, but does not do switching, which is not unnecessary in the bootloader, and which would also cause issues in complex networks that rely on STP to block loops. [0]: https://patchwork.ozlabs.org/patch/1203754/ Vladimir Oltean (3): lib: import packing API from Linux include: import if_vlan.h from Linux net: add driver for NXP SJA1105 DSA L2 switch drivers/net/Kconfig | 17 + drivers/net/Makefile | 1 + drivers/net/sja1105.c | 2309 +++++++++++++++++++++++++++++++++++++++ include/linux/if_vlan.h | 26 + include/linux/packing.h | 49 + lib/Kconfig | 17 + lib/Makefile | 1 + lib/packing.c | 208 ++++ 8 files changed, 2628 insertions(+) create mode 100644 drivers/net/sja1105.c create mode 100644 include/linux/if_vlan.h create mode 100644 include/linux/packing.h create mode 100644 lib/packing.c -- 2.17.1