public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vladimir Oltean <olteanv@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/3] DM DSA driver for NXP SJA1105 Ethernet switch
Date: Sun, 15 Dec 2019 22:52:59 +0200	[thread overview]
Message-ID: <20191215205302.13325-1-olteanv@gmail.com> (raw)

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

             reply	other threads:[~2019-12-15 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-15 20:52 Vladimir Oltean [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191215205302.13325-1-olteanv@gmail.com \
    --to=olteanv@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox