qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hw/mips/jazz: Rework the NIC init code
@ 2023-09-13 16:09 Thomas Huth
  2023-09-13 16:09 ` [PATCH v2 1/2] hw/mips/jazz: Move the NIC init code into a separate function Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Huth @ 2023-09-13 16:09 UTC (permalink / raw)
  To: qemu-devel, Philippe Mathieu-Daudé
  Cc: Hervé Poussineau, Aleksandar Rikalo, Jiaxun Yang

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-14  5:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13 16:09 [PATCH v2 0/2] hw/mips/jazz: Rework the NIC init code Thomas Huth
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é

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).