]> git.proxmox.com Git - mirror_qemu.git/commit
hw/mips/jazz: Move the NIC init code into a separate function
authorThomas Huth <thuth@redhat.com>
Wed, 13 Sep 2023 16:09:21 +0000 (18:09 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 25 Sep 2023 05:58:05 +0000 (07:58 +0200)
commit4032f04c638ff852fa6f2d274f8dc2402b965ca9
treecc9dd1d1b3e06c373ad0d57be70dab6fd0493dcb
parent02e8828aa75376c8bb3e694d89e31b3ac8dd29df
hw/mips/jazz: Move the NIC init code into a separate function

The mips_jazz_init() function is already quite big, so moving
away some code here can help to make it more understandable.
Additionally, by moving this code into a separate function, the
next patch (that will refactor the for-loop around the NIC init
code) will be much shorter and easier to understand.

Message-ID: <20230913160922.355640-2-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/mips/jazz.c