qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bernhard Beschow <shentey@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Huacai Chen" <chenhuacai@kernel.org>,
	"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
	"Bernhard Beschow" <shentey@gmail.com>
Subject: [PATCH] hw/mips/fuloong2e: Fix vt82c686b idsel
Date: Sun, 14 Sep 2025 20:55:26 +0200	[thread overview]
Message-ID: <20250914185526.3622-1-shentey@gmail.com> (raw)

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



             reply	other threads:[~2025-09-14 18:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-14 18:55 Bernhard Beschow [this message]
2025-09-24 18:24 ` [PATCH] hw/mips/fuloong2e: Fix vt82c686b idsel Bernhard Beschow

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=20250914185526.3622-1-shentey@gmail.com \
    --to=shentey@gmail.com \
    --cc=chenhuacai@kernel.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).