From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 3/6] net: calxedagmac: Convert to DM_ETH
Date: Tue, 20 Apr 2021 10:20:54 -0400 [thread overview]
Message-ID: <20210420142054.GF1310@bill-the-cat> (raw)
In-Reply-To: <20210412000455.12996-4-andre.przywara@arm.com>
On Mon, Apr 12, 2021 at 01:04:52AM +0100, Andre Przywara wrote:
> To squash that nasty warning message and make better use of the newly
> gained OF_CONTROL feature, let's convert the calxedagmac driver to the
> "new" driver model.
> The conversion is pretty straight forward, mostly just adjusting the
> use of the involved data structures.
> The only actual change is the required split of the receive routine into
> a receive and free_pkt part.
> Also this allows us to get rid of the hardcoded platform information and
> explicit init calls.
>
> This also uses the opportunity to wrap the code decoding the MMIO
> register base address, to make it safe for using PHYS_64BIT later.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/6c5b5dd2/attachment.sig>
next prev parent reply other threads:[~2021-04-20 14:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-12 0:04 [PATCH 0/6] highbank: Update to driver model Andre Przywara
2021-04-12 0:04 ` [PATCH 1/6] arm: highbank: Limit FDT and initrd load addresses Andre Przywara
2021-04-12 0:29 ` Tom Rini
2021-04-20 14:20 ` Tom Rini
2021-04-12 0:04 ` [PATCH 2/6] arm: highbank: Enable OF_CONTROL Andre Przywara
2021-04-20 14:20 ` Tom Rini
2021-04-12 0:04 ` [PATCH 3/6] net: calxedagmac: Convert to DM_ETH Andre Przywara
2021-04-15 1:53 ` Ramon Fried
2021-04-20 14:20 ` Tom Rini [this message]
2021-04-12 0:04 ` [PATCH 4/6] arm: highbank: Remove artificial SDRAM size Andre Przywara
2021-04-20 14:20 ` Tom Rini
2021-04-12 0:04 ` [PATCH 5/6] arm: highbank: Do DRAM init from DT Andre Przywara
2021-04-20 14:21 ` Tom Rini
2021-04-12 0:04 ` [PATCH 6/6] arm: highbank: Update maintainership Andre Przywara
2021-04-20 14:21 ` Tom Rini
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=20210420142054.GF1310@bill-the-cat \
--to=trini@konsulko.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