From: Thomas Huth <thuth@redhat.com>
To: qemu-devel@nongnu.org, "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: "Hervé Poussineau" <hpoussin@reactos.org>,
"Aleksandar Rikalo" <aleksandar.rikalo@syrmia.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>
Subject: [PATCH v2 0/2] hw/mips/jazz: Rework the NIC init code
Date: Wed, 13 Sep 2023 18:09:20 +0200 [thread overview]
Message-ID: <20230913160922.355640-1-thuth@redhat.com> (raw)
The NIC init code of the jazz machines is rather cumbersome, with
a for-loop around it that is always left after the first iteration.
This patch series reworks this a little bit to make the code more
readable and shorter.
v2:
- Dropped the first patch from v1 since it has been solved
differently by the patch "trivial: Simplify the spots that
use TARGET_BIG_ENDIAN as a numeric value" recently
- Rebased the code on top of that RARGET_BIG_ENDIAN change
Thomas Huth (2):
hw/mips/jazz: Move the NIC init code into a separate function
hw/mips/jazz: Simplify the NIC setup code
hw/mips/jazz.c | 81 ++++++++++++++++++++++++--------------------------
1 file changed, 39 insertions(+), 42 deletions(-)
--
2.41.0
next reply other threads:[~2023-09-13 16:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-13 16:09 Thomas Huth [this message]
2023-09-13 16:09 ` [PATCH v2 1/2] hw/mips/jazz: Move the NIC init code into a separate function Thomas Huth
2023-09-13 16:09 ` [PATCH v2 2/2] hw/mips/jazz: Simplify the NIC setup code Thomas Huth
2023-09-14 5:51 ` [PATCH v2 0/2] hw/mips/jazz: Rework the NIC init code Philippe Mathieu-Daudé
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=20230913160922.355640-1-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=aleksandar.rikalo@syrmia.com \
--cc=hpoussin@reactos.org \
--cc=jiaxun.yang@flygoat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).