Skip to content

DM DSA driver for NXP SJA1105 Ethernet switch

Vladimir Oltean u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: import packing API from Linuxinclude/linux/packing.h lib/Kconfig lib/Makefile +1 more+275 -00 replies
2/3include: import if_vlan.h from Linuxinclude/linux/if_vlan.h+26 -00 replies
3/3net: add driver for NXP SJA1105 DSA L2 switchdrivers/net/Kconfig drivers/net/Makefile drivers/net/sja1105.c+2327 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] DM DSA driver for NXP SJA1105 Ethernet switch

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
Signature · 1 line
2.17.1