diff options
author | Adam Jackson <ajax@redhat.com> | 2008-04-04 12:58:12 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-04-04 12:58:12 -0400 |
commit | cc7c045bae01d90d8f1b750080ba48a96e983c68 (patch) | |
tree | ff8f81a1c6973f34b440c915ea221b1ff9533b5a | |
parent | d1de3dda8efe501d4192c8a99c34ab4265316c32 (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.
-rw-r--r-- | hw/xfree86/int10/helper_exec.c | 2 |
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) |