public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] DM DSA driver for NXP SJA1105 Ethernet switch
@ 2019-12-15 20:52 Vladimir Oltean
  2019-12-15 20:53 ` [PATCH 1/3] lib: import packing API from Linux Vladimir Oltean
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vladimir Oltean @ 2019-12-15 20:52 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-15 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-15 20:52 [PATCH 0/3] DM DSA driver for NXP SJA1105 Ethernet switch Vladimir Oltean
2019-12-15 20:53 ` [PATCH 1/3] lib: import packing API from Linux Vladimir Oltean
2019-12-15 20:53 ` [PATCH 2/3] include: import if_vlan.h " Vladimir Oltean
2019-12-15 20:53 ` [PATCH 3/3] net: add driver for NXP SJA1105 DSA L2 switch Vladimir Oltean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox