summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-04-04 12:58:12 -0400
committerAdam Jackson <ajax@redhat.com>2008-04-07 10:32:07 -0400
commit9a908769e62fe56930ad3a2d3375e29119a2fe09 (patch)
treeb5c6c983b323727aee2d44ce236cf13d2bd98f96
parentbd91565ac8dc66babb011bfc63bcc071b7bf6d32 (diff)
Fix PCI config space cycles from int10 emulator.
The top bit of 0xCF8 is an enable bit, not part of the domain. Sending cycles to domain 128 instead of domain 0 is rarely the right thing to do. (cherry picked from commit cc7c045bae01d90d8f1b750080ba48a96e983c68)
-rw-r--r--hw/xfree86/int10/helper_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c
index 9daff22dc..c3af5bc08 100644
--- a/hw/xfree86/int10/helper_exec.c
+++ b/hw/xfree86/int10/helper_exec.c
@@ -461,7 +461,7 @@ Mem_wl(CARD32 addr, CARD32 val)
static CARD32 PciCfg1Addr = 0;
#define PCI_OFFSET(x) ((x) & 0x000000ff)
-#define PCI_TAG(x) ((x) & 0xffffff00)
+#define PCI_TAG(x) ((x) & 0x7fffff00)
static struct pci_device*
pci_device_for_cfg_address (CARD32 addr)