From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a 82371EB
Date: Tue, 9 Jan 2007 16:44:51 +0100 [thread overview]
Message-ID: <20070109154451.GC5603@farad.aurel32.net> (raw)
This patch changes the 82371SB PCI-to-ISA bridge into a 82371EB. There
are no differences in the implementation, but the Malta platform needs
this device as there are some PCI fixup in the Linux kernel.
This should be supported without problem by the i386 and x86_64 targets
as there is no standard PC hardware. Note that the ACPI controller
implemented in QEMU is already a 82371EB.
diff -Nurd qemu/hw/piix_pci.c qemu/hw/piix_pci.c
--- qemu/hw/piix_pci.c 2006-12-26 16:01:05.000000000 +0100
+++ qemu/hw/piix_pci.c 2006-12-26 16:37:25.000000000 +0100
@@ -287,8 +287,8 @@
pci_conf[0x00] = 0x86; // Intel
pci_conf[0x01] = 0x80;
- pci_conf[0x02] = 0x00; // 82371SB PIIX3 PCI-to-ISA bridge (Step A1)
- pci_conf[0x03] = 0x70;
+ pci_conf[0x02] = 0x10; // 82371AB/EB/MB PIIX4 PCI-to-ISA bridge
+ pci_conf[0x03] = 0x71;
pci_conf[0x0a] = 0x01; // class_sub = PCI_ISA
pci_conf[0x0b] = 0x06; // class_base = PCI_bridge
pci_conf[0x0e] = 0x80; // header_type = PCI_multifunction, generic
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' aurel32@debian.org | aurelien@aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
next reply other threads:[~2007-01-09 15:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-09 15:44 Aurelien Jarno [this message]
2007-01-09 18:03 ` [Qemu-devel] [PATCH] Change the 82371SB PCI-to-ISA bridge into a82371EB Alexander Voropay
2007-01-10 0:54 ` Aurelien Jarno
2007-01-11 20:00 ` Fabrice Bellard
2007-01-11 22:13 ` Aurelien Jarno
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=20070109154451.GC5603@farad.aurel32.net \
--to=aurelien@aurel32.net \
--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).