PMON 2000 accesses the vt82c686b southbridge under device 17, not 5.
Fix the FULOONG2E_VIA_SLOT define to reflect this.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
--
Makes PMON 2000 work in combination with
https://lore.kernel.org/qemu-devel/20250508-bonito-v1-0-4f9f27733028@flygoat.com/
`qemu-system-mips64el -M fuloong2e -bios pmon-2edev.bin`.
---
hw/mips/fuloong2e.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/mips/fuloong2e.c b/hw/mips/fuloong2e.c
index 2a8507b8b0..a6bf524b56 100644
--- a/hw/mips/fuloong2e.c
+++ b/hw/mips/fuloong2e.c
@@ -59,7 +59,7 @@
#define FULOONG_BIOSNAME "pmon_2e.bin"
/* PCI SLOT in Fuloong 2e */
-#define FULOONG2E_VIA_SLOT 5
+#define FULOONG2E_VIA_SLOT 17
#define FULOONG2E_ATI_SLOT 6
#define FULOONG2E_RTL8139_SLOT 7
--
2.51.0