]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/pci: Allow explicit function numbers in pci
authorDjordje Todorovic <Djordje.Todorovic@htecgroup.com>
Wed, 18 Jun 2025 12:27:49 +0000 (12:27 +0000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 2 Sep 2025 15:57:05 +0000 (17:57 +0200)
commite74416713fe166a6f21cc5ee2000cfd0c248e1a7
tree25f530fdb43a1884f3a8a30deecf1ab99070026a
parent32ee080ccdde8a90d5ee3b56e28f95ada35dee4c
hw/pci: Allow explicit function numbers in pci

Since there is no pch_gbe emulation, we could be using func other
than 0 when adding new devices to specific boards.

Signed-off-by: Chao-ying Fu <cfu@mips.com>
Signed-off-by: Djordje Todorovic <djordje.todorovic@htecgroup.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250901102850.1172983-13-djordje.todorovic@htecgroup.com>
[PMD: Compare with null character ('\0'), not '0']
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/pci/pci.c