U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Dario Binacchi <dario.binacchi@amarulasolutions.com>,
	Michael Trimarchi <michael@amarulasolutions.com>,
	Frieder Schrempf <frieder.schrempf@kontron.de>,
	Joe Hershberger <joe.hershberger@ni.com>,
	Ramon Fried <rfried.dev@gmail.com>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Bruce Suen <bruce_suen@163.com>,
	u-boot@lists.denx.de
Subject: Re: [PATCH 02/14] net: airoha: Add Airoha Ethernet driver
Date: Wed, 2 Apr 2025 09:19:51 -0600	[thread overview]
Message-ID: <20250402151951.GY5495@bill-the-cat> (raw)
In-Reply-To: <20250401225156.25790-3-ansuelsmth@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]

On Wed, Apr 02, 2025 at 12:51:34AM +0200, Christian Marangi wrote:

> Add airoha Ethernet driver for Airoha AN7581 SoC. This is a majorly
> rewritten and simplified version of the Linux airoha_eth.c driver.
> 
> It's has been modified to support a single RX/TX ring to reflect U-Boot
> implementation with recv and send API.
> 
> The struct and the define are kept as similar as possible to upstream
> one to not diverge too much.
> 
> The AN7581 SoC include an Ethernet Switch based on the Mediatek MT753x
> but doesn't require any modification aside from setting the CPU port and
> applying the Flood configuration hence it can be handled entirely in the
> Ethernet driver.
> 
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
>  drivers/net/Kconfig      |    8 +
>  drivers/net/Makefile     |    1 +
>  drivers/net/airoha_eth.c | 1448 ++++++++++++++++++++++++++++++++++++++
>  3 files changed, 1457 insertions(+)
>  create mode 100644 drivers/net/airoha_eth.c

checkpatch.pl has some macro warnings and it looks like some
inconsistent spacing around '#define FOO' vs '#define<tab>FOO' ? And are
all of those defines needed?

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2025-04-02 15:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-01 22:51 [PATCH 00/14] airoha: add support spi/mmc/ethernet Christian Marangi
2025-04-01 22:51 ` [PATCH 01/14] arch: arm: dts: an7581: add Chip SCU node Christian Marangi
2025-04-01 22:51 ` [PATCH 02/14] net: airoha: Add Airoha Ethernet driver Christian Marangi
2025-04-02 15:19   ` Tom Rini [this message]
2025-04-02 15:21     ` Christian Marangi
2025-04-02 15:31       ` Tom Rini
2025-04-02 15:33         ` Christian Marangi
2025-04-01 22:51 ` [PATCH 03/14] airoha: Add Ethernet config to defconfig Christian Marangi
2025-04-01 22:51 ` [PATCH 04/14] arch: arm: dts: an7581: Add Ethernet nodes Christian Marangi
2025-04-01 22:51 ` [PATCH 05/14] mmc: mediatek: permit to also build for Airoha arch Christian Marangi
2025-04-01 22:51 ` [PATCH 06/14] arch: arm: dts: an7581: Add eMMC nodes Christian Marangi
2025-04-01 22:51 ` [PATCH 07/14] airoha: Add eMMC config to defconfig Christian Marangi
2025-04-01 22:51 ` [PATCH 08/14] regmap: Add regmap_set/clear_bits shorthands Christian Marangi
2025-04-01 22:51 ` [PATCH 09/14] spi: drop unneeded spi.h header include from spinand.h Christian Marangi
2025-04-01 22:51 ` [PATCH 10/14] spi: Introduce setup_for_spinand() Christian Marangi
2025-04-01 22:51 ` [PATCH 11/14] spinand: call SPI setup_for_spinand if supported Christian Marangi
2025-04-01 22:51 ` [PATCH 12/14] spi: airoha: Add Airoha SPI NAND driver Christian Marangi
2025-04-01 22:51 ` [PATCH 13/14] arm: dts: an7581: Add SNAND node Christian Marangi
2025-04-01 22:51 ` [PATCH 14/14] configs: airoha: an7581_evb: Enable Airoha SNFI SPI config Christian Marangi

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=20250402151951.GY5495@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=ansuelsmth@gmail.com \
    --cc=bruce_suen@163.com \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=frieder.schrempf@kontron.de \
    --cc=jagan@amarulasolutions.com \
    --cc=jh80.chung@samsung.com \
    --cc=joe.hershberger@ni.com \
    --cc=michael@amarulasolutions.com \
    --cc=peng.fan@nxp.com \
    --cc=rfried.dev@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